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

:root {
    --primary-color: #04b0b2;
    --secondary-color: #038a8c;
    --accent-color: #f59e0b;
    --dark-color: #1f2937;
    --light-color: #f3f4f6;
    --white-color: #ffffff;
    --text-color: #374151;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --whatsapp-color: #25d366;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --global-kb-font-size-sm: clamp(0.8rem, 0.73rem + 0.217vw, 0.9rem);
    --global-kb-font-size-md: clamp(1.1rem, 0.995rem + 0.326vw, 1.25rem);
    --global-kb-font-size-lg: clamp(1.75rem, 1.576rem + 0.543vw, 2rem);
    --global-kb-font-size-xl: clamp(2.25rem, 1.728rem + 1.63vw, 3rem);
    --global-kb-font-size-xxl: clamp(2rem, 1.2rem + 2vw, 3rem);
    --global-kb-font-size-xxxl: clamp(2.75rem, 0.489rem + 7.065vw, 6rem);
}

body {
    font-family: 'Almarai', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white-color);
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    font-weight: 600; /* تحسين الوضوح */
}

.btn-primary:hover {
    background-color: #1a5f7a; /* لون أغمق للتباين الأفضل */
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    color: var(--white-color);
    border-color: var(--white-color);
}

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

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

.btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ==========================================
   Header
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white-color);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition);
    padding: 0;
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 20px;
}

.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    max-width: 280px;
}

.logo a {
    display: block;
    line-height: 0;
}

.logo img {
    width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    /* -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale; */
}

.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    margin: 0;
    padding: 0;
    width: 100%;
}

.nav-list > li {
    flex: 0 1 auto;
}

.nav-link {
    color: var(--text-color);
    font-weight: 600;
    font-size: 16px;
    position: relative;
    padding: 10px 5px;
    white-space: nowrap;
    display: inline-block;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
    border-radius: 2px;
}

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

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

.nav-link i {
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown {
    position: relative;
}

.nav-item-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

.dropdown-toggle-btn {
    display: none;
}

.desktop-only {
    display: inline;
}

.mobile-only {
    display: none;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--white-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 12px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    border-top: 3px solid var(--primary-color);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

.dropdown-menu a {
    display: block;
    padding: 14px 24px 14px 40px;
    color: var(--text-color);
    font-size: 15px;
    font-weight: 500;
    background-color: rgba(249, 250, 251, 0.5);
    transition: all 0.3s ease;
    position: relative;
}

.dropdown-menu a::before {
    content: '◄';
    position: absolute;
    right: 20px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.dropdown-menu a:hover {
    background: linear-gradient(90deg, rgba(4, 176, 178, 0.1), transparent);
    color: var(--primary-color);
    padding-right: 35px;
}

.dropdown-menu a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header-actions .btn {
    padding: 10px 20px;
    font-size: 14px;
    white-space: nowrap;
}

.mobile-menu-footer {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 4px;
    background-color: var(--dark-color);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 80px;
    overflow: visible;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
}

.hero-content {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: var(--white-color);
    width: 100%;
    padding: 0 20px;
}

.hero-title {
    font-size: var(--global-kb-font-size-xxl);
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: var(--global-kb-font-size-md);
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
    text-justify: inter-word;
}

.hero-cta {
    margin-top: auto;
    text-align: center;
    position: relative;
    padding-bottom: 30px;
}

.hero-cta-text {
    font-size: 18px;
    color: var(--white-color);
    margin-bottom: 25px;
    font-weight: 600;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto;
}

.hero-buttons .btn {
    position: relative;
    border-radius: 25px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    min-width: 160px;
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    bottom: -8px;
    width: 0;
    height: 0;
    border-style: solid;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, var(--white-color), rgba(255, 255, 255, 0.95));
    color: var(--primary-color);
    border: 2px solid var(--white-color);
    transform: translateX(10px);
}

.hero-buttons .btn-primary::before {
    left: 22px;
    border-width: 8px 12px 0 0;
    border-color: var(--white-color) transparent transparent transparent;
}

.hero-buttons .btn-primary:hover {
    transform: translateX(10px) translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.3);
}

.hero-buttons .btn-outline {
    background: linear-gradient(135deg, rgba(4, 176, 178, 0.95), rgba(3, 138, 140, 0.9));
    color: var(--white-color);
    border: 2px solid rgba(255, 255, 255, 0.5);
    transform: translateX(-10px);
}

.hero-buttons .btn-outline::before {
    right: 22px;
    border-width: 0 12px 8px 0;
    border-color: transparent rgba(4, 176, 178, 0.95) transparent transparent;
}

.hero-buttons .btn-outline:hover {
    transform: translateX(-10px) translateY(-3px);
    box-shadow: 0 12px 30px rgba(4, 176, 178, 0.4);
    background: linear-gradient(135deg, rgba(4, 176, 178, 1), rgba(3, 138, 140, 1));
}


.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 80px;
}

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

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 10px;
}

.stat-label {
    display: block;
    font-size: 16px;
    opacity: 0.9;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 0.8s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 0.8s ease-out 0.4s both;
}

/* ==========================================
   Section Styles
   ========================================== */
section {
    padding: 100px 0;
    position: relative;
}

section:nth-of-type(even) {
    background: rgba(255, 255, 255, 0.5);
}

section:nth-of-type(odd) {
    background: rgba(249, 250, 251, 0.7);
}


.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background-color: rgba(4, 176, 178, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    font-weight: 900;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-description {
    font-size: 18px;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================
   Stats Card
   ========================================== */
.stats-card-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -60px;
    width: 100%;
    max-width: 1200px;
    z-index: 10;
}

.stats-card-inner {
    background-color: var(--white-color);
    border-radius: 16px;
    padding: 25px 35px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    transition: var(--transition);
}

.stats-card-wrapper:hover .stats-card-inner {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--border-color), transparent);
    flex-shrink: 0;
}

.stat-icon {
    font-size: 32px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.stat-item .stat-number {
    font-size: 36px;
    font-weight: 900;
    color: var(--dark-color);
    line-height: 1;
    margin-bottom: 5px;
    display: block;
}

.stat-item .stat-label {
    font-size: 14px;
    color: var(--text-color);
    font-weight: 600;
}

/* ==========================================
   About Section
   ========================================== */
.about {
    background: linear-gradient(to bottom, rgba(249, 250, 251, 0.8), rgba(249, 250, 251, 1));
    padding-top: 140px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.about-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 4px 15px rgba(4, 176, 178, 0.2);
}

.about-tag::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

.about-text .section-title {
    text-align: right;
    margin-bottom: 15px;
}

.about-text .section-description {
    text-align: right;
    margin-bottom: 25px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.8;
}

.features-list {
    margin-top: 30px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 16px;
}

.features-list i {
    color: var(--primary-color);
    font-size: 18px;
}

.about-cta {
    margin-top: 60px;
    padding: 40px 50px;
    background: linear-gradient(135deg, rgba(4, 176, 178, 0.05), rgba(3, 138, 140, 0.05));
    border-radius: 20px;
    border: 2px solid rgba(4, 176, 178, 0.15);
    text-align: center;
    box-shadow: 0 8px 30px rgba(4, 176, 178, 0.1);
}

.about-cta-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 30px;
    font-weight: 500;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-cta-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn-cta {
    position: relative;
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 170px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.btn-cta::before {
    content: '';
    position: absolute;
    bottom: -8px;
    width: 0;
    height: 0;
    border-style: solid;
}

.btn-cta-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    border: 2px solid transparent;
    transform: translateX(-8px);
}

.btn-cta-primary::before {
    right: 25px;
    border-width: 0 12px 8px 0;
    border-color: transparent var(--secondary-color) transparent transparent;
}

.btn-cta-primary:hover {
    transform: translateX(-8px) translateY(-3px);
    box-shadow: 0 10px 25px rgba(4, 176, 178, 0.3);
}

.btn-cta-secondary {
    background: linear-gradient(135deg, #25D366, #20ba5a);
    color: var(--white-color);
    border: 2px solid transparent;
    transform: translateX(8px);
}

.btn-cta-secondary::before {
    left: 25px;
    border-width: 8px 12px 0 0;
    border-color: #20ba5a transparent transparent transparent;
}

.btn-cta-secondary:hover {
    transform: translateX(8px) translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    height: 100%;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================
   Services Section
   ========================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--white-color);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

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

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

.service-description {
    font-size: 15px;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
}

.service-link:hover {
    gap: 8px;
}

.service-link i {
    margin-right: 5px;
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(-5px);
}

/* ==========================================
   Projects Section
   ========================================== */
.projects {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(249, 250, 251, 0.98));
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.project-card {
    display: block;
    background: var(--white-color);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
    position: relative;
    text-decoration: none;
}

.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover::after {
    opacity: 1;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(4, 176, 178, 0.12);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 240px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.project-image::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.project-card:hover .project-image::before {
    opacity: 1;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.project-card:hover .project-image img {
    transform: scale(1.05) rotate(1deg);
}


.project-info {
    padding: 24px;
    background: var(--white-color);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.project-content {
    flex: 1;
}

.project-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.project-category {
    font-size: 13px;
    color: #64748B;
    font-weight: 500;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
    margin: 0;
}

.project-card:hover .project-category {
    color: var(--text-color);
}

.project-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(4, 176, 178, 0.1), rgba(3, 138, 140, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 16px;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.project-card:hover .project-arrow {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    transform: translateX(-6px) rotate(-15deg) scale(1.1);
    box-shadow: 0 4px 15px rgba(4, 176, 178, 0.3);
}

/* ==========================================
   Blog/Articles Section
   ========================================== */
.blog {
    background: linear-gradient(to bottom, rgba(249, 250, 251, 0.5), rgba(255, 255, 255, 0.9));
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.blog-card {
    display: block;
    background: var(--white-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 3px 18px rgba(0, 0, 0, 0.07);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
    position: relative;
    text-decoration: none;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 25px 50px rgba(4, 176, 178, 0.15);
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.blog-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.4));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.blog-card:hover .blog-image::after {
    opacity: 1;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.blog-card:hover .blog-image img {
    transform: scale(1.06) rotate(-1deg);
    filter: brightness(1.1);
}

.blog-date {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    color: var(--dark-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    transition: all 0.3s ease;
}

.blog-card:hover .blog-date {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    transform: scale(1.05);
}

.blog-date i {
    font-size: 11px;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-date i {
    color: var(--white-color);
}

.blog-content {
    padding: 26px;
    background: var(--white-color);
}

.blog-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

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

.blog-excerpt {
    font-size: 14px;
    color: #64748B;
    line-height: 1.7;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid rgba(4, 176, 178, 0.1);
}

.blog-read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

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

.blog-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 14px;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.blog-card:hover .blog-icon {
    background: linear-gradient(135deg, var(--accent-color), #d97706);
    color: var(--white-color);
    transform: translateX(-6px) rotate(-15deg) scale(1.15);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.blog-link i {
    transition: var(--transition);
}

.blog-link:hover i {
    transform: translateX(-5px);
}

/* ==========================================
   Testimonials Section
   ========================================== */
.testimonials-carousel {
    position: relative;
    max-width: 750px;
    margin: 0 auto;
    padding: 0 60px;
}

.testimonials-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
    animation: fadeInSlide 0.6s ease-in-out;
}

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

.testimonial-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(249, 250, 251, 1));
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(4, 176, 178, 0.1);
    text-align: center;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.testimonial-rating i {
    color: var(--accent-color);
    font-size: 14px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-color);
    font-style: italic;
    position: relative;
    padding: 0 15px;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: 0;
    font-size: 50px;
    color: var(--primary-color);
    opacity: 0.15;
    font-family: Georgia, serif;
}

.testimonial-text::after {
    content: '"';
    position: absolute;
    bottom: -30px;
    left: 0;
    font-size: 50px;
    color: var(--primary-color);
    opacity: 0.15;
    font-family: Georgia, serif;
}

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

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

.author-info {
    text-align: right;
}

.author-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 3px;
}

.author-title {
    font-size: 13px;
    color: var(--text-color);
    opacity: 0.8;
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--white-color);
    border: 2px solid var(--border-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.testimonial-nav:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.testimonial-nav.prev {
    right: 0;
}

.testimonial-nav.next {
    left: 0;
}

.testimonial-nav i {
    font-size: 18px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.testimonial-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dots .dot.active {
    background-color: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

.testimonial-dots .dot:hover {
    background-color: var(--secondary-color);
}

/* ==========================================
   Contact Form Section
   ========================================== */
.contact-form-section {
    background-color: var(--light-color);
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white-color);
    padding: 50px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 0;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Almarai', sans-serif;
    font-size: 15px;
    transition: var(--transition);
    background-color: var(--white-color);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(4, 176, 178, 0.1);
}

.form-control::placeholder {
    color: #9ca3af;
}

select.form-control {
    cursor: pointer;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ==========================================
   Contact Strip
   ========================================== */
.contact-strip {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 35px 0;
    color: var(--white-color);
    position: relative;
    overflow: hidden;
}

.contact-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.contact-strip-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.contact-strip-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-strip-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.contact-strip-item i {
    font-size: 32px;
    opacity: 0.95;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

.contact-strip-item div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-strip-item .label {
    font-size: 13px;
    opacity: 0.9;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-strip-item .value {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: linear-gradient(to bottom, #1a1f2e 0%, #0f1419 100%);
    color: var(--white-color);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-col:first-child {
    padding-left: 10px;
}

.footer-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--white-color);
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.footer-col p {
    font-size: 15px;
    line-height: 1.9;
    opacity: 0.85;
    margin-bottom: 25px;
    color: #d1d5db;
}

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

.footer-social a {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(4, 176, 178, 0.15), rgba(3, 138, 140, 0.1));
    border: 2px solid rgba(4, 176, 178, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(4, 176, 178, 0.3);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links li {
    margin-bottom: 0;
}

.footer-links a {
    font-size: 15px;
    opacity: 0.85;
    color: #d1d5db;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::before {
    content: '◄';
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
    padding-right: 8px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact li {
    display: flex;
    align-items: start;
    gap: 15px;
    font-size: 15px;
    opacity: 0.85;
    color: #d1d5db;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border-right: 3px solid transparent;
    transition: all 0.3s ease;
}

.footer-contact li:hover {
    background: rgba(4, 176, 178, 0.08);
    border-right-color: var(--primary-color);
    opacity: 1;
}

.footer-contact i {
    margin-top: 2px;
    color: var(--primary-color);
    font-size: 18px;
    width: 24px;
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.7;
    color: #9ca3af;
    margin: 0;
}

/* ==========================================
   Floating Elements
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 32px;
    box-shadow: var(--shadow-xl);
    z-index: 999;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: var(--white-color);
    font-size: 22px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-xl);
}

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

.scroll-to-top:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

/* ==========================================
   Utility Classes
   ========================================== */
.text-center {
    text-align: center;
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1200px) {
    .nav-list {
        gap: 25px;
    }
    
    .nav-link {
        font-size: 15px;
        padding: 10px 3px;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .services-grid,
    .projects-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-carousel {
        padding: 0 50px;
        max-width: 650px;
    }
    
    .testimonial-card {
        padding: 30px 25px;
        min-height: 260px;
        gap: 18px;
    }
    
    .testimonial-nav {
        width: 45px;
        height: 45px;
    }
    
    .testimonial-text {
        font-size: 14px;
    }
    
    .testimonial-text::before,
    .testimonial-text::after {
        font-size: 40px;
    }
    
    .stats-card-wrapper {
        bottom: -35px;
    }
    
    .stats-card-inner {
        padding: 22px 28px;
        gap: 25px;
    }
    
    .stat-item {
        gap: 15px;
    }
    
    .stat-divider {
        height: 50px;
    }
    
    .stat-icon {
        font-size: 28px;
    }
    
    .stat-item .stat-number {
        font-size: 32px;
    }
    
    .stat-item .stat-label {
        font-size: 13px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-strip-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .contact-form-container {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 12px 0;
    }
    
    .logo {
        max-width: 200px;
    }
    
    .logo h1 {
        font-size: 22px;
        line-height: 1.3;
    }
    
    .logo span {
        font-size: 11px;
        margin-top: 3px;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--white-color);
        box-shadow: var(--shadow-xl);
        transition: right 0.3s ease;
        padding: 80px 0 0;
        overflow-y: auto;
        z-index: 999;
        display: flex;
        flex-direction: column;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
        flex: 0 0 auto;
    }
    
    .nav-list li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-item-wrapper {
        display: flex;
        align-items: center;
        width: 100%;
        position: relative;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: inline-flex !important;
    }
    
    .dropdown-toggle-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        color: var(--primary-color);
        font-size: 18px;
        padding: 16px 20px;
        cursor: pointer;
        transition: all 0.3s ease;
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 60px;
        z-index: 10;
        flex-shrink: 0;
    }
    
    .dropdown-toggle-btn:hover {
        background-color: rgba(4, 176, 178, 0.1);
    }
    
    .dropdown-toggle-btn i {
        transition: transform 0.3s ease;
    }
    
    .dropdown.active .dropdown-toggle-btn i {
        transform: rotate(180deg);
    }
    
    .nav-link {
        display: block;
        padding: 16px 20px;
        font-size: 16px;
        font-weight: 600;
        flex: 1;
        position: relative;
        z-index: 1;
    }
    
    .dropdown .nav-link {
        padding-left: 70px;
    }
    
    .nav-link:hover {
        transform: translateY(0);
        background-color: rgba(4, 176, 178, 0.05);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        background-color: var(--light-color);
        border-top: none;
        min-width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 500px;
    }
    
    .dropdown-menu li {
        border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    }
    
    .dropdown-menu a {
        display: block;
        padding: 14px 20px 14px 45px;
        color: var(--text-color);
        font-size: 15px;
        font-weight: 500;
        background-color: rgba(4, 176, 178, 0.03);
    }
    
    .dropdown-menu a:hover {
        background: rgba(4, 176, 178, 0.1);
        padding-right: 20px;
    }
    
    .mobile-menu-footer {
        display: block;
        margin-top: auto;
        padding: 25px 20px;
        border-top: 2px solid var(--border-color);
        background: linear-gradient(to bottom, transparent, rgba(4, 176, 178, 0.03));
    }
    
    .mobile-menu-social {
        margin-bottom: 20px;
    }
    
    .mobile-menu-social-title {
        font-size: 14px;
        font-weight: 600;
        color: var(--dark-color);
        margin-bottom: 12px;
        text-align: center;
    }
    
    .mobile-menu-social-icons {
        display: flex;
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;
    }
    
    .mobile-menu-social-icons a {
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, rgba(4, 176, 178, 0.15), rgba(3, 138, 140, 0.1));
        border: 2px solid rgba(4, 176, 178, 0.3);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary-color);
        font-size: 18px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-social-icons a:hover {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        border-color: var(--primary-color);
        color: var(--white-color);
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(4, 176, 178, 0.3);
    }
    
    .mobile-menu-copyright {
        text-align: center;
        padding-top: 15px;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .mobile-menu-copyright p {
        font-size: 12px;
        color: var(--text-color);
        opacity: 0.7;
        margin: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-actions .btn {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .header-actions .btn-whatsapp span {
        display: none;
    }
    
    .header-actions .btn-primary {
        display: none;
    }
    
    .hero {
        min-height: 100vh;
        padding-top: 120px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 28px;
        margin-top: 20px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-cta {
        margin-top: 40px;
        padding-bottom: 30px;
        margin-bottom: 40px;
    }
    
    .hero-cta-text {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 18px;
        max-width: 100%;
        align-items: center;
    }
    
    .hero-buttons .btn {
        min-width: 280px;
        max-width: 320px;
        border-radius: 30px;
        padding: 16px 32px;
        font-size: 16px;
        font-weight: 600;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        position: relative;
    }
    
    .hero-buttons .btn-primary {
        background: linear-gradient(135deg, var(--white-color), rgba(255, 255, 255, 0.95));
        color: var(--primary-color);
        border: 2px solid var(--white-color);
        transform: translateX(20px);
        align-self: flex-end;
    }
    
    .hero-buttons .btn-primary::before {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 30px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 8px 12px 0 0;
        border-color: var(--white-color) transparent transparent transparent;
    }
    
    .hero-buttons .btn-outline {
        background: linear-gradient(135deg, rgba(4, 176, 178, 0.95), rgba(3, 138, 140, 0.9));
        color: var(--white-color);
        border: 2px solid rgba(255, 255, 255, 0.5);
        transform: translateX(-20px);
        align-self: flex-start;
    }
    
    .hero-buttons .btn-outline::before {
        content: '';
        position: absolute;
        bottom: -8px;
        right: 30px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 12px 8px 0;
        border-color: transparent rgba(4, 176, 178, 0.95) transparent transparent;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 25px;
        margin-top: 50px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-grid,
    .projects-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-carousel {
        padding: 0 40px;
        max-width: 550px;
    }
    
    .testimonial-card {
        padding: 25px 20px;
        min-height: auto;
        gap: 15px;
    }
    
    .testimonial-nav {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-nav i {
        font-size: 16px;
    }
    
    .testimonial-rating i {
        font-size: 12px;
    }
    
    .testimonial-text {
        font-size: 14px;
        padding: 0 10px;
    }
    
    .testimonial-text::before,
    .testimonial-text::after {
        font-size: 35px;
    }
    
    .author-avatar {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .author-name {
        font-size: 15px;
    }
    
    .author-title {
        font-size: 12px;
    }
    
    .hero {
        padding-bottom: 80px;
    }
    
    .stats-card-wrapper {
        bottom: 0;
        transform: translate(-50%, 50%);
        padding: 0 15px;
    }
    
    .stats-card-inner {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0;
    }
    
    .stat-item {
        background-color: var(--white-color);
        border-radius: 12px;
        padding: 18px 12px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
        border: 1px solid var(--border-color);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    .stat-item:nth-of-type(1) {
        width: 100%;
    }
    
    .stat-item:nth-of-type(2),
    .stat-item:nth-of-type(3) {
        width: calc(50% - 6px);
    }
    
    .stat-divider {
        display: none;
    }
    
    .stat-icon {
        display: none;
    }
    
    .stat-content {
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .stat-divider {
        display: none;
    }
    
    .stat-icon {
        font-size: 24px;
    }
    
    .stat-item .stat-number {
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 4px;
    }
    
    .stat-item .stat-label {
        font-size: 13px;
        font-weight: 500;
    }
    
    .about {
        padding-top: 140px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-tag {
        display: block;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .about-text .section-title,
    .about-text .section-description {
        text-align: center;
    }
    
    .about-cta {
        padding: 25px 20px;
    }
    
    .about-cta-text {
        font-size: 15px;
        margin-bottom: 25px;
    }
    
    .about-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-cta {
        width: 100%;
        max-width: 300px;
        transform: translateX(0) !important;
    }
    
    .btn-cta::before {
        display: none;
    }
    
    .blog-image {
        height: 220px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-col:first-child {
        padding-left: 0;
    }
    
    .footer-title::after {
        width: 40px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .contact-strip-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-strip {
        padding: 25px 0;
    }
    
    .contact-strip-item {
        justify-content: flex-start;
        text-align: right;
        flex-direction: row;
        gap: 15px;
        padding: 18px;
    }
    
    .contact-strip-item i {
        width: 45px;
        height: 45px;
        font-size: 28px;
    }
    
    .contact-strip-item div {
        align-items: flex-start;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo {
        max-width: 180px;
    }
    
    .logo h1 {
        font-size: 19px;
        line-height: 1.3;
    }
    
    .logo span {
        font-size: 10px;
        margin-top: 2px;
    }
    
    .header-actions .btn:not(.mobile-menu-toggle) {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-cta {
        margin-top: 30px;
        padding-bottom: 20px;
        margin-bottom: 30px;
    }
    
    .hero-cta-text {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .hero-buttons .btn {
        min-width: 260px;
        max-width: 300px;
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .hero-buttons .btn-primary {
        transform: translateX(15px);
    }
    
    .hero-buttons .btn-primary::before {
        left: 25px;
    }
    
    .hero-buttons .btn-outline {
        transform: translateX(-15px);
    }
    
    .hero-buttons .btn-outline::before {
        right: 25px;
        border-width: 0 10px 8px 0;
        border-color: transparent rgba(4, 176, 178, 0.95) transparent transparent;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .btn-lg {
        padding: 12px 25px;
        font-size: 15px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .project-card,
    .blog-card,
    .testimonial-card {
        margin-bottom: 0;
    }
    
    .project-info,
    .blog-content {
        padding: 20px;
    }
    
    .testimonial-card {
        padding: 25px 20px;
    }
    
    .blog-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .blog-excerpt {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .service-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .service-description {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 28px;
        bottom: 60px;
        left: 20px;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 20px;
    }
    
    .contact-form-container {
        padding: 25px 15px;
    }
    
    .contact-strip-item i {
        font-size: 24px;
    }
    
    .contact-strip-item .value {
        font-size: 14px;
    }
    
    .header-actions .btn-whatsapp {
        padding: 8px 12px;
    }
    
    .hero {
        padding-top: 70px;
        min-height: 100vh;
    }
    
    .hero-content {
        padding: 0 10px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .project-image,
    .blog-image {
        height: 200px;
    }
    
    .about-image img {
        height: 350px;
    }
    
    .hero {
        padding-bottom: 70px;
    }
    
    .stats-card-wrapper {
        bottom: 0;
        transform: translate(-50%, 50%);
        padding: 0 10px;
    }
    
    .stats-card-inner {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0;
    }
    
    .stat-item {
        background-color: var(--white-color);
        border-radius: 10px;
        padding: 15px 10px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
        border: 1px solid var(--border-color);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    .stat-item:nth-of-type(1) {
        width: 100%;
    }
    
    .stat-item:nth-of-type(2),
    .stat-item:nth-of-type(3) {
        width: calc(50% - 5px);
    }
    
    .stat-divider {
        display: none;
    }
    
    .stat-icon {
        font-size: 22px;
    }
    
    .stat-item .stat-number {
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 2px;
    }
    
    .stat-item .stat-label {
        font-size: 12px;
        font-weight: 500;
    }
    
    .about {
        padding-top: 100px;
    }
}
