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

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Variables - New Red Theme */
:root {
    --primary-color: #ff1616;
    --secondary-color: #db1212;
    --accent-color: #af1010;
    --dark-color: #af1010;
    --light-color: #f8fafc;
    --gradient: linear-gradient(135deg, #ff1616, #db1212);
    --gradient-2: linear-gradient(135deg, #db1212, #af1010);
    --shadow: 0 10px 30px rgba(255, 22, 22, 0.15);
    --shadow-hover: 0 20px 40px rgba(255, 22, 22, 0.25);
    --glow: 0 0 20px rgba(255, 22, 22, 0.3);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 2px solid #e2e8f0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo h2 {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    font-size: 1.8rem;
    text-shadow: var(--glow);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav-menu a:hover {
    color: var(--primary-color);
    background: #f1f5f9;
    box-shadow: var(--shadow);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--light-color);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#hero-canvas {
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

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

.hero-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    box-shadow: var(--glow);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--glow);
}

/* Enhanced Phone Screen Design */
.phone-screen {
    width: 300px;
    height: 600px;
    background: var(--dark-color);
    border-radius: 30px;
    padding: 20px;
    box-shadow: var(--shadow-hover);
    position: relative;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.app-interface {
    background: white;
    border-radius: 20px;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.app-header {
    height: 60px;
    background: var(--gradient);
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    color: white;
    font-weight: 600;
    position: relative;
}

.app-title {
    font-size: 14px;
    font-weight: 700;
}

.app-time {
    font-size: 12px;
    opacity: 0.8;
    direction: ltr;
    text-align: left;
    unicode-bidi: bidi-override;
}

.app-content {
    padding: 0;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    height: calc(100% - 60px);
    position: relative;
    overflow-y: auto;
}

/* App Navigation */
.app-nav {
    display: flex;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 0;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 5px;
}

.nav-item.active {
    background: var(--gradient);
    color: white;
}

.nav-item:not(.active) {
    color: #64748b;
}

.nav-item:hover:not(.active) {
    background: #f1f5f9;
    color: var(--primary-color);
}

.nav-item i {
    font-size: 16px;
    margin-bottom: 4px;
}

.nav-item span {
    font-size: 10px;
    font-weight: 600;
}

/* App Main Content */
.app-main-content {
    padding: 20px;
}

.app-welcome {
    text-align: center;
    margin-bottom: 20px;
}

.app-welcome h3 {
    font-size: 16px;
    color: var(--dark-color);
    margin-bottom: 5px;
    font-weight: 700;
}

.app-welcome p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}

/* App Stats */
.app-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 35px;
    height: 35px;
    background: var(--gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.stat-info h4 {
    font-size: 16px;
    font-weight: 900;
    color: var(--primary-color);
    margin: 0;
    line-height: 1;
    direction: ltr;
    text-align: left;
    unicode-bidi: bidi-override;
}

.stat-info p {
    font-size: 10px;
    color: #64748b;
    margin: 0;
    font-weight: 600;
}

/* App Actions - Enhanced */
.app-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 10px;
}

.app-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.app-btn:active {
    transform: scale(0.95);
}

.app-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
    z-index: 1;
}

.app-btn:hover::before {
    left: 0;
}

.app-btn > * {
    position: relative;
    z-index: 2;
}

.app-btn.primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 12px rgba(75, 142, 255, 0.3);
}

.app-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(75, 142, 255, 0.4);
}

.app-btn.primary:active {
    transform: translateY(0) scale(0.95);
    box-shadow: 0 2px 8px rgba(75, 142, 255, 0.3);
}

.app-btn.secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.app-btn.secondary:active {
    transform: translateY(0) scale(0.95);
}

.app-btn i {
    font-size: 14px;
    pointer-events: none;
}

/* Enhanced nav items */
.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 5px;
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
}

.nav-item:hover::before {
    left: 0;
}

.nav-item > * {
    position: relative;
    z-index: 2;
}

/* Enhanced floating animation */
.floating-phone {
    position: relative;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(75, 142, 255, 0.3));
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotateY(0deg);
    }
    25% { 
        transform: translateY(-10px) rotateY(2deg);
    }
    50% { 
        transform: translateY(-20px) rotateY(0deg);
    }
    75% { 
        transform: translateY(-10px) rotateY(-2deg);
    }
}

/* Phone screen reflection effect */
.phone-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    pointer-events: none;
    border-radius: 30px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary-color);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); }
    40% { transform: translateY(-10px) rotate(45deg); }
    60% { transform: translateY(-5px) rotate(45deg); }
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: var(--glow);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: white;
}

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

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.about-text p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--light-color);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.stat-item h4 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #64748b;
    font-weight: 600;
}

.team-3d {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.team-member {
    width: 100px;
    height: 100px;
    background: var(--gradient);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
    box-shadow: var(--glow);
}

.team-member:nth-child(2) {
    animation-delay: -3s;
}

.team-member:nth-child(3) {
    animation-delay: -6s;
}

@keyframes rotate {
    from { transform: rotate(0deg) translateX(50px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(50px) rotate(-360deg); }
}

/* Services Section */
.services {
    background: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid #e2e8f0;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    transition: left 0.3s ease;
    z-index: 1;
}

.service-card:hover::before {
    left: 0;
}

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

.service-card > * {
    position: relative;
    z-index: 2;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: white;
    box-shadow: var(--glow);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Portfolio Section - Enhanced */
.portfolio {
    background: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: var(--light-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.portfolio-image {
    height: 250px;
    background: var(--gradient);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-preview {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: float 4s ease-in-out infinite;
    position: relative;
}

.app-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    animation: pulse 2s ease-in-out infinite;
}

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

.portfolio-info {
    padding: 2rem;
}

.portfolio-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 700;
}

.portfolio-info p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Portfolio Tags */
.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--gradient);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(75, 142, 255, 0.3);
}

/* Contact Section - New Design */
.contact {
    background: var(--light-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.contact-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.contact-item p {
    color: #64748b;
    font-size: 1.1rem;
}

/* WhatsApp Button */
.whatsapp-btn {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    margin: 2rem 0;
}

.whatsapp-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    background: var(--secondary-color);
}

.whatsapp-btn i {
    font-size: 1.5rem;
}

/* Contact Numbers */
.contact-numbers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-number {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
}

.contact-number:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.contact-number h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.contact-number p {
    color: #64748b;
    font-size: 1.1rem;
    font-weight: 600;
    direction: ltr;
    text-align: left;
    unicode-bidi: bidi-override;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-logo h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #cbd5e1;
}

/* Social Media Section */
.social-section {
    display: none;
}

/* Text Center Utility */
.text-center {
    text-align: center;
}

/* Responsive Design - Enhanced for Mobile */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-numbers {
        grid-template-columns: 1fr;
    }
    
    .phone-screen {
        width: 250px;
        height: 500px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .portfolio-item {
        margin-bottom: 1rem;
    }
    
    .contact-item {
        padding: 1.5rem;
    }
    
    .whatsapp-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .whatsapp-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .phone-screen {
        width: 200px;
        height: 400px;
    }
    
    .app-main-content {
        padding: 15px;
    }
    
    .app-welcome h3 {
        font-size: 14px;
    }
    
    .app-welcome p {
        font-size: 11px;
    }
    
    .stat-card {
        padding: 12px;
    }
    
    .stat-info h4 {
        font-size: 14px;
    }
    
    .stat-info p {
        font-size: 9px;
    }
    
    .app-btn {
        padding: 10px 15px;
        font-size: 11px;
    }
    
    .nav-item i {
        font-size: 14px;
    }
    
    .nav-item span {
        font-size: 9px;
    }
}

/* Force Desktop Mode for Mobile */
@media (max-width: 768px) {
    body {
        min-width: 1024px;
        overflow-x: auto;
    }
    
    .container {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .hero-content {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .about-content {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .services-grid {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .portfolio-grid {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .contact-content {
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* Alternative Mobile Design */
@media (max-width: 768px) and (orientation: portrait) {
    body {
        min-width: auto;
        overflow-x: hidden;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .phone-screen {
        width: 200px;
        height: 400px;
        margin: 0 auto;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .container {
        padding: 0 10px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .portfolio-item {
        margin-bottom: 1rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .whatsapp-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading::after {
    content: '';
    width: 50px;
    height: 50px;
    border: 3px solid #e2e8f0;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* 3D Effects */
.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.card-3d:hover {
    transform: rotateY(10deg) rotateX(5deg);
}

/* Particle Effects */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: particle-float 6s infinite linear;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
} 

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .social-section .social-links {
        gap: 1rem;
    }
    
    .social-link {
        min-width: 100px;
        padding: 1rem;
    }
    
    .social-link i {
        font-size: 1.5rem;
    }
    
    .social-link span {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .social-section .social-links {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
    }
    
    .social-link {
        min-width: auto;
    }
} 