/* ===== Premium CSS - أوائل العالمية ===== */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&family=Tajawal:wght@400;500;700&display=swap');

:root {
    --primary: #0F2027;
    --primary-dark: #040f13;
    --primary-light: #F9F9F9;
    --gold: #C5A059;
    --gold-light: #e5c580;
    --secondary: #25d366;
    --accent: #C5A059;
    --dark: #0a0a1a;
    --dark-light: #1a1a2e;
    --gray: #6b7280;
    --gray-light: #f3f4f6;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #0F2027, #203A43);
    --gradient-gold: linear-gradient(135deg, #C5A059, #e5c580);
    --shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.12);
    --radius: 20px;
    --radius-lg: 32px;
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--white);
    color: var(--dark);
    line-height: 1.7;
    direction: rtl;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    line-height: 1.2;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

.section {
    padding: 120px 0;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Loader */
.loader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0 auto 20px;
    animation: pulse 1.5s infinite;
}

.loader-text {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    background: var(--gradient-gold);
    width: 0;
    animation: loading 2s ease-in-out forwards;
}

@keyframes loading {
    to {
        width: 100%;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Cursor */
.cursor {
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.3s, opacity 0.3s;
    opacity: 0.5;
}

@media (max-width: 1024px) {

    .cursor,
    .cursor-follower {
        display: none;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.4s ease;
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    transition: all 0.4s ease;
}

.header.scrolled::before {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-gold);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 900;
    font-size: 1.4rem;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: scale(1.05) rotate(-3deg);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    font-family: 'Cairo', sans-serif;
    transition: color 0.3s ease;
}

.header.scrolled .logo-text {
    color: var(--dark);
}

.logo-text span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-list>li>a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.nav-list>li>a i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.menu-item-has-children:hover>a i {
    transform: rotate(180deg);
}

.header.scrolled .nav-list>li>a {
    color: var(--dark);
}

.nav-list>li>a:hover,
.nav-list>li.current-menu-item>a {
    color: var(--gold);
}

.nav-list>li>a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-list>li>a:hover::after,
.nav-list>li.current-menu-item>a::after {
    width: 100%;
}

/* Dropdown */
/* Dropdown */
.menu-item-has-children {
    position: relative;
}

.sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 260px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    padding: 10px 0;
    z-index: 9999;
    border-top: 4px solid var(--gold);
}

.sub-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    right: 20px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--gold);
}

.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    display: block;
    margin: 0;
}

.sub-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s ease;
}

.sub-menu li:last-child a {
    border-bottom: none;
}

.sub-menu li a:hover {
    background: var(--primary-light);
    color: var(--primary);
    padding-right: 25px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
}

.header .btn span {
    display: inline;
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    width: 32px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    position: absolute;
    transition: all 0.3s ease;
}

.header.scrolled .menu-toggle span {
    background: var(--dark);
}

.menu-toggle span:nth-child(1) {
    top: 0;
    width: 70%;
}

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
    bottom: 0;
    width: 50%;
}

.menu-toggle:hover span:nth-child(1),
.menu-toggle:hover span:nth-child(3) {
    width: 100%;
}

.menu-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 100%;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
    width: 100%;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-light) 100%);
    z-index: 998;
    transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 997;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    padding: 100px 30px 40px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-nav {
    flex: 1;
}

.mobile-nav li {
    margin-bottom: 8px;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s ease;
}

.mobile-menu.active .mobile-nav li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu.active .mobile-nav li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu.active .mobile-nav li:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-menu.active .mobile-nav li:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-menu.active .mobile-nav li:nth-child(4) {
    transition-delay: 0.25s;
}

.mobile-menu.active .mobile-nav li:nth-child(5) {
    transition-delay: 0.3s;
}

.mobile-menu.active .mobile-nav li:nth-child(6) {
    transition-delay: 0.35s;
}

.mobile-nav a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.4rem;
    font-weight: 700;
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.mobile-nav a:hover {
    color: var(--gold);
    padding-right: 15px;
}

.mobile-contact {
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-contact .btn {
    justify-content: center;
}

/* Responsive Header */
@media (max-width: 1200px) {
    .nav-list {
        gap: 25px;
    }

    .header .btn span {
        display: none;
    }

    .header .btn {
        padding: 12px;
        min-width: 48px;
    }
}

@media (max-width: 1024px) {
    .nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .header-inner {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 12px 0;
    }

    .logo-icon {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .header .btn {
        padding: 10px;
        min-width: 42px;
    }

    .header .btn i {
        font-size: 1rem;
    }

    .mobile-menu {
        max-width: 100%;
    }

    .mobile-nav a {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: block;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border: 1px solid rgba(197, 160, 89, 0.3);
    box-shadow: 0 10px 30px rgba(15, 32, 39, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(15, 32, 39, 0.4);
    border-color: var(--gold);
}

.btn-success {
    background: linear-gradient(135deg, var(--secondary), #1da851);
    color: #fff;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.btn-lg {
    padding: 20px 45px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* Hero */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: flex-start;
    /* Changed from center to prevent top cut-off */
    padding-top: 140px;
    /* Added compensation for fixed header */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../img/home-hero.png') no-repeat center center/cover;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 26, 0.9) 0%, rgba(26, 26, 62, 0.85) 40%, rgba(13, 31, 60, 0.9) 100%);
}

.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    mix-blend-mode: overlay;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.15);
    filter: blur(60px);
}

.shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -150px;
    animation: float 15s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    background: rgba(37, 211, 102, 0.1);
    animation: float 20s ease-in-out infinite reverse;
}

.shape-3 {
    width: 300px;
    height: 300px;
    top: 40%;
    left: 30%;
    background: rgba(255, 107, 53, 0.05);
    animation: float 18s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -30px);
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 102, 204, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 102, 204, 0.2);
    padding: 14px 28px;
    border-radius: 50px;
    margin-bottom: 30px;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: var(--secondary);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

.hero-badge span {
    color: #94a3b8;
    font-weight: 600;
}

.hero-title {
    font-size: 4rem;
    color: #fff;
    margin-bottom: 30px;
}

.title-line {
    display: block;
}

.hero-desc {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    line-height: 1.9;
    max-width: 550px;
}

.hero-desc strong {
    color: var(--secondary);
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-trust {
    margin-top: 20px;
}

.trust-badges {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.trust-badge i {
    color: var(--secondary);
}

.hero-visual {
    perspective: 1000px;
}

.hero-card-stack {
    position: relative;
    height: 450px;
}

.hero-main-card {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #1e3a5f, #0d2847);
    border-radius: 30px;
    position: relative;
    transform: rotateY(-8deg) rotateX(5deg);
    transform-style: preserve-3d;
    box-shadow: 40px 40px 80px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
    overflow: hidden;
}

.hero-main-card:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.card-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), transparent 50%, rgba(52, 211, 153, 0.1));
}

.card-content {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.card-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.2);
}

.card-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.card-value {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    display: block;
}

.hero-float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 0.9rem;
    animation: float-card 5s ease-in-out infinite;
}

.hero-float-card i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.card-1 {
    top: 30px;
    right: -30px;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    left: -40px;
    animation-delay: 1s;
}

.card-3 {
    bottom: 50px;
    right: 20px;
    animation-delay: 2s;
}

@keyframes float-card {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.5);
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

.arrow i {
    animation: bounce-arrow 2s infinite;
}

@keyframes bounce-arrow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}

/* Stats Bar */
.stats-bar {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 60px 0;
    margin-top: -50px;
    position: relative;
    z-index: 20;
    border-radius: 30px 30px 0 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    font-family: 'Cairo', sans-serif;
}

.stat-suffix {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    display: block;
}

/* Page Hero */
.page-hero-section {
    padding: 180px 0 100px;
    position: relative;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.02)"/></svg>');
    background-size: 100px;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: color 0.3s;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb span:last-child {
    color: var(--primary);
    font-weight: 500;
}


.page-hero-title {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.page-hero-desc {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* Projects Stats */
.projects-stats {
    background: #fff;
    padding: 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.stat-box {
    padding: 40px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-left: 1px solid var(--gray-light);
}

.stat-box:last-child {
    border-left: none;
}

.stat-box .stat-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-box .stat-icon i {
    font-size: 1.8rem;
    color: var(--primary);
}

.stat-box .stat-content {
    display: flex;
    flex-direction: column;
}

.stat-box .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
}

.stat-box .stat-label {
    font-size: 0.95rem;
    color: var(--gray);
}

.projects-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.projects-filter-header .section-title {
    margin-bottom: 0;
}

.project-desc {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 10px;
}

.project-placeholder.foam {
    background: linear-gradient(135deg, #fef9c3, #fef08a);
}

.project-placeholder.foam i {
    color: #ca8a04;
}

@media (max-width: 1024px) {
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-filter-header {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-hero-section {
        padding: 140px 0 80px;
    }

    .page-hero-title {
        font-size: 2.5rem;
    }

    .stats-row {
        grid-template-columns: 1fr;
    }

    .stat-box {
        border-left: none;
        border-bottom: 1px solid var(--gray-light);
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }

    .stat-box:last-child {
        border-bottom: none;
    }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-light), #f0fdf4);
    padding: 12px 28px;
    border-radius: 50px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.section-desc {
    color: var(--gray);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 45px 35px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient);
    color: #fff;
    transform: scale(1.1);
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-desc {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-features {
    margin-bottom: 25px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.service-features i {
    color: var(--secondary);
    font-size: 0.8rem;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.service-link i {
    transition: transform 0.3s;
}

.service-link:hover i {
    transform: translateX(-5px);
}

/* Why Us */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-features {
    margin-top: 40px;
}

.why-feature {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.feature-content p {
    color: var(--gray);
    font-size: 0.95rem;
}

.why-visual {
    position: relative;
}

.why-image {
    width: 100%;
    height: 500px;
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.image-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(60px);
}

/* Testimonials */
.testimonials {
    background: var(--gray-light);
}

.testimonials-slider {
    padding-bottom: 60px;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.testimonial-rating {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: flex;
    gap: 5px;
}

.testimonial-quote {
    font-size: 1.15rem;
    color: var(--gray);
    line-height: 1.9;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 55px;
    height: 55px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.3rem;
}

.author-info strong {
    display: block;
    color: var(--dark);
    font-size: 1.1rem;
}

.author-info span {
    color: var(--gray);
    font-size: 0.9rem;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--gray);
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    background: var(--primary);
    opacity: 1;
}

/* Projects Gallery */
.projects {
    background: #fff;
}

.projects-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 12px 28px;
    border-radius: 50px;
    border: 2px solid var(--gray-light);
    background: #fff;
    color: var(--gray);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.3);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0f2fe, #bfdbfe);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
}

.project-placeholder i {
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.4;
}

.project-placeholder.tank {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
}

.project-placeholder.tank i {
    color: var(--secondary);
}

.project-placeholder.roof {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.project-placeholder.roof i {
    color: #f59e0b;
}

.project-placeholder.drain {
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
}

.project-placeholder.drain i {
    color: #6366f1;
}

.project-placeholder.renovation {
    background: linear-gradient(135deg, #fce7f3, #fbcfe8);
}

.project-placeholder.renovation i {
    color: #ec4899;
}

.project-card:hover .project-placeholder {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-category {
    background: var(--primary);
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.project-zoom {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.project-zoom:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

.project-info {
    padding: 25px;
}

.project-title {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.project-location {
    color: var(--gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-location i {
    color: var(--primary);
}

.projects-more {
    text-align: center;
    margin-top: 50px;
}

@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .projects-filter {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* Project Detail Page */
.project-hero-section {
    padding: 180px 0 100px;
    position: relative;
    background: linear-gradient(135deg, var(--dark) 0%, #1e3a5f 100%);
    overflow: hidden;
}

.project-hero-bg {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.02)"/></svg>');
    background-size: 100px;
}

.project-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.project-hero-title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.3;
}

.project-hero-section.tank-bg {
    background: linear-gradient(135deg, var(--dark) 0%, #134e4a 100%);
}

.project-hero-section.roof-bg {
    background: linear-gradient(135deg, var(--dark) 0%, #78350f 100%);
}

.project-hero-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.project-hero-category.tank {
    background: rgba(16, 185, 129, 0.2);
}

.project-hero-category.roof {
    background: rgba(245, 158, 11, 0.2);
}

.project-hero-section.drain-bg {
    background: linear-gradient(135deg, var(--dark) 0%, #581c87 100%);
}

.project-hero-section.renovation-bg {
    background: linear-gradient(135deg, var(--dark) 0%, #9f1239 100%);
}

.project-hero-section.foam-bg {
    background: linear-gradient(135deg, var(--dark) 0%, #854d0e 100%);
}

.project-hero-category.drain {
    background: rgba(168, 85, 247, 0.2);
}

.project-hero-category.renovation {
    background: rgba(244, 63, 94, 0.2);
}

.project-hero-category.foam {
    background: rgba(202, 138, 4, 0.2);
}

.gallery-placeholder.drain {
    background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
}

.gallery-placeholder.drain i {
    color: #a855f7;
}

.gallery-placeholder.renovation {
    background: linear-gradient(135deg, #ffe4e6, #fecdd3);
}

.gallery-placeholder.renovation i {
    color: #f43f5e;
}

.gallery-placeholder.foam {
    background: linear-gradient(135deg, #fef9c3, #fef08a);
}

.gallery-placeholder.foam i {
    color: #ca8a04;
}

.thumb-placeholder.drain {
    background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
}

.thumb-placeholder.drain i {
    color: #a855f7;
}

.thumb-placeholder.renovation {
    background: linear-gradient(135deg, #ffe4e6, #fecdd3);
}

.thumb-placeholder.renovation i {
    color: #f43f5e;
}

.thumb-placeholder.foam {
    background: linear-gradient(135deg, #fef9c3, #fef08a);
}

.thumb-placeholder.foam i {
    color: #ca8a04;
}

.related-icon.drain {
    background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
}

.related-icon.drain i {
    color: #a855f7;
}

.related-icon.renovation {
    background: linear-gradient(135deg, #ffe4e6, #fecdd3);
}

.related-icon.renovation i {
    color: #f43f5e;
}

.project-hero-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 25px;
}

.project-hero-meta span {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-hero-meta i {
    color: var(--primary);
}

/* Project Layout */
.project-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
}

.project-main {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Project Gallery */
.project-gallery {
    padding: 20px;
}

.gallery-main {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 15px;
}

.gallery-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #e0f2fe, #bfdbfe);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.gallery-placeholder i {
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.3;
}

.gallery-placeholder span {
    color: var(--gray);
    font-size: 1rem;
}

.gallery-placeholder.tank {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
}

.gallery-placeholder.tank i {
    color: var(--secondary);
}

.gallery-placeholder.roof {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.gallery-placeholder.roof i {
    color: #f59e0b;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-thumb {
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: border-color 0.3s;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--primary);
}

.thumb-placeholder {
    height: 80px;
    background: linear-gradient(135deg, #e0f2fe, #bfdbfe);
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumb-placeholder i {
    font-size: 1.5rem;
    color: var(--primary);
    opacity: 0.4;
}

.thumb-placeholder.tank {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
}

.thumb-placeholder.tank i {
    color: var(--secondary);
}

.thumb-placeholder.roof {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.thumb-placeholder.roof i {
    color: #f59e0b;
}

/* Project Content */
.project-content {
    padding: 40px;
}

.project-content h2 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 20px;
}

.project-content h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin: 30px 0 15px;
}

.project-content p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.project-list {
    list-style: none;
    padding: 0;
}

.project-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-light);
    color: var(--gray);
}

.project-list li i {
    color: #ef4444;
    margin-top: 4px;
}

.project-list.solution li i {
    color: var(--secondary);
}

/* Project Sidebar */
.project-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.sidebar-title {
    font-size: 1.1rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.sidebar-title i {
    color: var(--primary);
}

.project-info-list {
    list-style: none;
    padding: 0;
}

.project-info-list li {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-light);
}

.project-info-list li:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--gray);
    font-size: 0.9rem;
}

.info-value {
    color: var(--dark);
    font-weight: 600;
}

.sidebar-card.cta-card {
    background: var(--gradient);
    text-align: center;
}

.sidebar-card.cta-card h3 {
    color: #fff;
    margin-bottom: 10px;
}

.sidebar-card.cta-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.sidebar-card.cta-card .btn {
    margin-bottom: 10px;
}

.sidebar-card.cta-card .btn:last-child {
    margin-bottom: 0;
}

/* Related Projects */
.related-projects {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: var(--radius);
    background: var(--gray-light);
    transition: all 0.3s ease;
}

.related-item:hover {
    background: var(--primary-light);
    transform: translateX(-5px);
}

.related-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e0f2fe, #bfdbfe);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-icon i {
    color: var(--primary);
    font-size: 1.2rem;
}

.related-icon.tank {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
}

.related-icon.tank i {
    color: var(--secondary);
}

.related-icon.roof {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.related-icon.roof i {
    color: #f59e0b;
}

.related-icon.foam {
    background: linear-gradient(135deg, #fef9c3, #fef08a);
}

.related-icon.foam i {
    color: #ca8a04;
}

.related-info h4 {
    font-size: 0.95rem;
    color: var(--dark);
    margin-bottom: 3px;
}

.related-info span {
    font-size: 0.85rem;
    color: var(--gray);
}

/* More Projects Section */
.more-projects {
    background: var(--gray-light);
}

@media (max-width: 1024px) {
    .project-layout {
        grid-template-columns: 1fr;
    }

    .project-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .project-hero-section {
        padding: 140px 0 80px;
    }

    .project-hero-title {
        font-size: 2rem;
    }

    .project-hero-meta {
        gap: 15px;
    }

    .gallery-placeholder {
        height: 250px;
    }

    .gallery-thumbs {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .thumb-placeholder {
        height: 60px;
    }

    .project-content {
        padding: 25px;
    }
}

/* Latest Articles */
.latest-articles {
    background: var(--gray-light);
}

.articles-category {
    margin-bottom: 60px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--gray-light);
}

.category-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}

.category-title {
    flex: 1;
    font-size: 1.5rem;
    color: var(--dark);
    margin: 0;
}

.category-link {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-link:hover {
    gap: 12px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.article-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.article-image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary-light), #e0f2fe);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.article-image i {
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.3;
}

.article-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.article-content {
    padding: 25px;
}

.article-date {
    color: var(--gray);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.article-title {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.5;
}

.article-excerpt {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.article-link:hover {
    gap: 12px;
}

.articles-cta {
    text-align: center;
    margin-top: 50px;
}

@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }

    .category-header {
        flex-wrap: wrap;
    }

    .category-title {
        font-size: 1.2rem;
    }
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--dark), var(--dark-light));
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--dark);
    color: #fff;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-right: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--primary);
    font-size: 1.1rem;
    width: 20px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* Floating CTAs */
.floating-ctas {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    animation: float-btn 3s ease-in-out infinite;
}

.float-btn:hover {
    transform: scale(1.15);
}

.float-btn.call {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.float-btn.whatsapp {
    background: linear-gradient(135deg, var(--secondary), #1da851);
    animation-delay: 0.5s;
}

@keyframes float-btn {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-btns,
    .trust-badges {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-visual {
        order: -1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        flex-direction: column;
        text-align: center;
    }

    .hero-desc {
        font-size: 1.1rem;
    }

    .btn-lg {
        padding: 16px 30px;
        font-size: 1rem;
    }

    html,
    body {
        overflow-x: hidden;
    }

    .section-wave-top svg,
    .section-wave-bottom svg {
        width: 100%;
    }

    .watermark-title {
        overflow: hidden;
    }
}

/* Fix: Ensure AOS elements are visible even without JS */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* When AOS is loaded, restore animations */
.aos-animate[data-aos] {
    opacity: 1;
    transform: translateZ(0);
}

/* Ensure all content is visible */
.services-grid,
.service-card,
.service-icon,
.service-title,
.service-desc,
.service-features,
.service-link,
.section-header,
.section-tag,
.section-title,
.section-desc,
.stats-bar,
.stat-item,
.why-us,
.testimonials,
.cta,
.footer {
    opacity: 1 !important;
    visibility: visible !important;
}

/* ===== Pricing Section ===== */
.pricing-section {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.pricing-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 102, 204, 0.15);
    border-color: rgba(0, 102, 204, 0.1);
}

.pricing-card:hover::before {
    opacity: 1;
}

/* Popular Card */
.pricing-popular {
    background: linear-gradient(135deg, #0a0a2e 0%, #1a1a5e 100%);
    color: var(--white);
    transform: scale(1.05);
    border: 2px solid rgba(96, 165, 250, 0.3);
    box-shadow: 0 20px 60px rgba(0, 102, 204, 0.2);
}

.pricing-popular::before {
    opacity: 1 !important;
    height: 4px;
    background: linear-gradient(90deg, #60a5fa, #34d399, #a78bfa);
}

.pricing-popular:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 102, 204, 0.3);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #60a5fa, #34d399);
    color: white;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(96, 165, 250, 0);
    }
}

.pricing-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(52, 211, 153, 0.1));
    color: var(--primary);
    transition: var(--transition);
}

.pricing-popular .pricing-icon {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(52, 211, 153, 0.2));
    color: #60a5fa;
}

.pricing-card:hover .pricing-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--primary), #34d399);
    color: white;
}

.pricing-popular:hover .pricing-icon {
    background: linear-gradient(135deg, #60a5fa, #34d399);
    color: white;
}

.pricing-name {
    font-family: 'Cairo', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.pricing-desc {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.pricing-popular .pricing-desc {
    color: rgba(255, 255, 255, 0.7);
}

.pricing-price {
    margin-bottom: 30px;
    padding: 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.pricing-popular .pricing-price {
    border-color: rgba(255, 255, 255, 0.1);
}

.price-currency {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    vertical-align: super;
}

.pricing-popular .price-currency {
    color: #60a5fa;
}

.price-amount {
    font-family: 'Cairo', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    margin: 0 5px;
    background: linear-gradient(135deg, var(--primary), #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-popular .price-amount {
    background: linear-gradient(135deg, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    display: block;
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 5px;
}

.pricing-popular .price-period {
    color: rgba(255, 255, 255, 0.6);
}

.pricing-features {
    list-style: none;
    text-align: right;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.pricing-popular .pricing-features li {
    border-color: rgba(255, 255, 255, 0.06);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: #34d399;
    font-size: 1rem;
    flex-shrink: 0;
}

.feature-highlight {
    color: #f59e0b !important;
    font-weight: 700;
}

.feature-highlight i {
    color: #f59e0b !important;
}

.pricing-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pricing-actions .btn {
    padding: 12px;
    font-weight: 700;
    border-radius: 12px;
    font-size: 0.95rem;
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
}

.pricing-popular .btn-outline-primary {
    border-color: #60a5fa;
    color: #60a5fa;
}

.pricing-popular .btn-outline-primary:hover {
    background: #60a5fa;
    color: white;
}

.pricing-note {
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.pricing-note p {
    background: rgba(0, 102, 204, 0.05);
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    color: var(--gray);
    font-size: 0.9rem;
}

.pricing-note i {
    color: var(--primary);
    margin-left: 8px;
}

/* Pricing Responsive */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-popular {
        transform: scale(1);
    }

    .pricing-popular:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 60px 0;
    }

    .pricing-card {
        padding: 30px 20px;
    }

    .price-amount {
        font-size: 2.8rem;
    }
}

/* ===== Creative & Unique Features ===== */

/* 1. Fluid Geometry & Waves */
.section-wave-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.section-wave-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.section-wave-top .shape-fill {
    fill: #FFFFFF;
}

.section-wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.section-wave-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.section-wave-bottom .shape-fill {
    fill: #FFFFFF;
}

/* Slanted Edge */
.slanted-edge {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.slanted-edge-reverse {
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
}

/* 2. 3D Interactive Cards */
.card-3d-wrap {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.card-3d-inner {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    position: relative;
}

.card-3d-wrap:hover .card-3d-inner {
    transform: rotateY(10deg) rotateX(5deg);
}

.card-3d-content {
    transform: translateZ(50px);
}

.card-glass-layer {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    z-index: -1;
    transition: all 0.3s ease;
}

/* 3. Watermark Typography */
.watermark-title {
    position: relative;
    z-index: 1;
}

.watermark-title::before {
    content: attr(data-text);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px rgba(197, 160, 89, 0.1);
    /* Gold stroke */
    z-index: -1;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0.5;
    font-family: var(--font-heading);
}

@media (max-width: 768px) {
    .watermark-title::before {
        font-size: 4rem;
    }
}

/* 4. Morphing Blobs */
.blob-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.blob-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: blob-float 10s infinite alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--primary);
    animation-duration: 20s;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--gold);
    animation-duration: 25s;
    animation-direction: alternate-reverse;
}

@keyframes blob-float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

/* 5. Liquid Button Effect */
.btn-liquid {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

.btn-liquid::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--gold);
    border-radius: 10rem;
    z-index: -2;
}

.btn-liquid::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--primary);
    transition: all 0.3s ease;
    border-radius: 10rem;
    z-index: -1;
}

.btn-liquid:hover {
    color: #fff;
    border-color: var(--primary);
}

.btn-liquid:hover::before {
    width: 100%;
}

/* Reveal Text Animation */
.reveal-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: revealText 0.5s forwards;
}

@keyframes revealText {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page Transition */
.page-transition-overlay {
    position: fixed;
    inset: 0;
    background: var(--primary);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.page-transition-logo {
    color: var(--gold);
    font-size: 3rem;
    font-weight: 900;
    opacity: 0;
    animation: fadeInOut 1.5s ease-in-out forwards;
}

.page-loaded .page-transition-overlay {
    transform: translateY(-100%);
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}
