/* Base Styles */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #7c3aed;
    --accent: #06b6d4;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --gray-lighter: #e2e8f0;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.section-header h2 {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--dark);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

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

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

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Language Toggle */
.lang-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    display: flex;
    background: var(--dark);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.lang-btn {
    padding: 10px 20px;
    border: none;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--gray-light);
    background: transparent;
}

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

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 16px 0;
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    padding: 12px 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-cta {
    font-size: 14px;
    padding: 10px 24px;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: 8px 16px;
    display: flex;
    gap: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.bottom-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    color: var(--gray-light);
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    white-space: nowrap;
}

.bottom-nav-link i {
    font-size: 16px;
}

.bottom-nav-link span {
    font-size: 11px;
    font-weight: 600;
}

.bottom-nav-link:hover,
.bottom-nav-link.active {
    color: var(--white);
    background: var(--primary);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 14px;
    color: var(--white);
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 30%, #dbeafe 60%, #eff6ff 100%);
    position: relative;
    overflow: hidden;
    padding-top: 40px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(37, 99, 235, 0.1), transparent 60%),
                radial-gradient(ellipse at 70% 20%, rgba(124, 58, 237, 0.08), transparent 50%),
                radial-gradient(ellipse at 50% 80%, rgba(6, 182, 212, 0.06), transparent 50%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

/* 3D Cube Logo */
.hero-logo {
    width: 140px;
    height: 140px;
    margin: 0 auto 30px;
    perspective: 600px;
}

.cube {
    width: 140px;
    height: 140px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 8s linear infinite;
}

@keyframes rotateCube {
    0% { transform: rotateY(0) rotateX(0); }
    100% { transform: rotateY(360deg) rotateX(360deg); }
}

.cube-face {
    position: absolute;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    border: 2px solid rgba(37, 99, 235, 0.4);
    backface-visibility: visible;
    border-radius: 12px;
}

.cube-face.front {
    transform: translateZ(70px);
    background: rgba(37, 99, 235, 0.15);
    backdrop-filter: blur(5px);
}

.cube-face.back {
    transform: rotateY(180deg) translateZ(70px);
    background: rgba(124, 58, 237, 0.15);
    backdrop-filter: blur(5px);
}

.cube-face.right {
    transform: rotateY(90deg) translateZ(70px);
    background: rgba(6, 182, 212, 0.15);
    backdrop-filter: blur(5px);
}

.cube-face.left {
    transform: rotateY(-90deg) translateZ(70px);
    background: rgba(37, 99, 235, 0.1);
    backdrop-filter: blur(5px);
}

.cube-face.top {
    transform: rotateX(90deg) translateZ(70px);
    background: rgba(124, 58, 237, 0.1);
    backdrop-filter: blur(5px);
}

.cube-face.bottom {
    transform: rotateX(-90deg) translateZ(70px);
    background: rgba(6, 182, 212, 0.1);
    backdrop-filter: blur(5px);
}

.hero-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.hero h1 {
    font-size: 58px;
    margin-bottom: 24px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease 0.2s both;
    color: var(--dark);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.9;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats {
    display: flex;
    gap: 50px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.stat-item {
    text-align: center;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-plus {
    font-size: 24px;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--gray);
    margin-top: 5px;
    font-weight: 500;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--white);
}

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

.about-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

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

.about-vision {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vision-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: #f8fafc;
    border-radius: 16px;
    transition: var(--transition);
    border: 1px solid var(--gray-lighter);
}

.vision-item:hover {
    background: rgba(37, 99, 235, 0.05);
    border-color: rgba(37, 99, 235, 0.2);
    transform: translateX(5px);
}

.vision-icon {
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.vision-text h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.vision-text p {
    margin: 0;
    font-size: 15px;
    color: var(--gray);
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-img-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.about-img-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.3);
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 16px 24px;
    border-radius: 14px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    top: 20px;
    left: -30px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 40px;
    right: -20px;
    animation-delay: 1.5s;
}

.floating-card i {
    color: var(--primary);
    font-size: 22px;
}

.floating-card span {
    font-weight: 600;
    font-size: 14px;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #f8fafc;
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(37, 99, 235, 0.1);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

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

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

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

/* Methodology Section */
.methodology {
    padding: 100px 0;
    background: var(--white);
}

.methodology-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 50%;
    width: 3px;
    background: var(--gradient-primary);
    transform: translateX(50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    margin: 0 30px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.timeline-content {
    flex: 1;
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid var(--gray-lighter);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(37, 99, 235, 0.15);
}

.timeline-step {
    display: inline-block;
    padding: 5px 16px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.timeline-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 15px;
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background: #f8fafc;
}

.project-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 28px;
    background: var(--white);
    border: 2px solid var(--gray-lighter);
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    color: var(--gray);
}

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

.category-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

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

.project-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(37, 99, 235, 0.1);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.project-card:hover .project-placeholder {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
}

.project-status {
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.status-ready {
    background: rgba(34, 197, 94, 0.9);
    color: var(--white);
}

.status-ongoing {
    background: rgba(234, 179, 8, 0.9);
    color: var(--white);
}

.status-future {
    background: rgba(99, 102, 241, 0.9);
    color: var(--white);
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.project-info p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.7;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tags span {
    padding: 5px 14px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 22px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.project-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    gap: 12px;
}

.project-link i {
    font-size: 11px;
}

/* IoT Section */
.iot-section {
    padding: 100px 0;
    background: var(--dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

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

.iot-text .section-tag {
    background: rgba(6, 182, 212, 0.2);
    color: var(--accent);
}

.iot-text h2 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 36px;
}

.iot-text > p {
    color: var(--gray-light);
    font-size: 18px;
    margin-bottom: 30px;
}

.iot-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.iot-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.iot-feature:hover {
    background: rgba(6, 182, 212, 0.15);
    transform: translateX(5px);
    border-color: rgba(6, 182, 212, 0.3);
}

.iot-feature i {
    font-size: 24px;
    color: var(--accent);
}

.iot-visual {
    position: relative;
    width: 380px;
    height: 380px;
    margin: 0 auto;
}

.iot-circle {
    position: absolute;
    border: 2px solid rgba(6, 182, 212, 0.3);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.circle-1 {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.circle-2 {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    animation-delay: 0.5s;
}

.circle-3 {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    animation-delay: 1s;
}

.iot-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.4);
}

/* Team Section */
.team {
    padding: 100px 0;
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.team-card {
    text-align: center;
    padding: 35px 25px;
    background: var(--white);
    border-radius: 16px;
    border: 2px solid var(--gray-lighter);
    transition: var(--transition);
}

.team-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.team-icon {
    width: 70px;
    height: 70px;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    margin: 0 auto 20px;
    transition: var(--transition);
}

.team-card:hover .team-icon {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.team-card h3 {
    font-size: 17px;
    margin-bottom: 10px;
}

.team-card p {
    color: var(--gray);
    font-size: 14px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f8fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.contact-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.contact-details h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--gray);
}

.contact-details a {
    color: var(--primary);
    font-weight: 500;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-social {
    margin-top: 30px;
}

.contact-social h4 {
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-lighter);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--gray-lighter);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    background: #f8fafc;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    background: var(--white);
}

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

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--gray-light);
    margin-top: 20px;
    line-height: 1.8;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
}

.footer-links h4,
.footer-services h4 {
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h4::after,
.footer-services h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 14px;
}

.footer-links a,
.footer-services a {
    color: var(--gray-light);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-light);
    margin-bottom: 10px;
}

.footer-tagline {
    color: var(--accent);
    font-weight: 600;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .stat-item {
        padding: 15px 20px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-content,
    .iot-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-img-container {
        width: 300px;
        height: 300px;
    }

    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .timeline-line {
        right: 30px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-icon {
        margin: 0 0 20px 0;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .section-header p {
        font-size: 16px;
    }

    .bottom-nav {
        bottom: 16px;
        padding: 6px 10px;
        gap: 2px;
    }

    .bottom-nav-link {
        padding: 8px 10px;
    }

    .bottom-nav-link span {
        font-size: 9px;
    }

    .bottom-nav-link i {
        font-size: 14px;
    }

    .lang-toggle {
        top: 15px;
        left: 15px;
    }

    .lang-btn {
        padding: 8px 14px;
        font-size: 12px;
    }
}

    .timeline-icon {
        margin: 0 0 20px 0;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .section-header p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .iot-features {
        grid-template-columns: 1fr;
    }

    .iot-visual {
        width: 280px;
        height: 280px;
    }

    .project-categories {
        gap: 10px;
    }

    .category-btn {
        padding: 10px 20px;
        font-size: 12px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .contact-form {
        padding: 25px;
    }
}