:root {
    --color-red: #EA3649;
    --color-orange: #FF8727;
    --color-navy: #182A4C;
    --color-teal: #408A8C;
    --color-yellow: #FEB913;
    --color-white: #F9F9F9;
    --color-dark: #0A0F1E;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-navy) 100%);
    color: var(--color-white);
    overflow-x: hidden;
    line-height: 1.6;
}

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

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(234, 54, 73, 0.2);
    transition: all 0.3s ease;
}

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

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-red), var(--color-orange));
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--color-orange);
}

nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(234, 54, 73, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 135, 39, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 40% 20%, rgba(64, 138, 140, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

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

.hero-content {
    text-align: center;
    z-index: 9999;
    max-width: 900px;
    padding: 0 20px;
    position: relative;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--color-white);
    line-height: 1.2;
    position: relative;
    z-index: 9999;
}

.typing-text {
    display: inline-block;
    position: relative;
    color: var(--color-white);
    z-index: 9999;
}

.typing-text::after {
    content: '|';
    position: absolute;
    right: -10px;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

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

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 40px;
    color: var(--color-white);
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-red), var(--color-orange));
    color: var(--color-white);
    box-shadow: 0 5px 20px rgba(234, 54, 73, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(234, 54, 73, 0.6);
}

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

.btn-secondary:hover {
    background: var(--color-teal);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(64, 138, 140, 0.4);
}

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

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--color-white);
    border-radius: 15px;
    position: relative;
    opacity: 0.7;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--color-white);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 24px; }
}

section {
    padding: 100px 0;
    position: relative;
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--color-white), var(--color-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-red), var(--color-orange));
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-white);
    opacity: 0.8;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

#about {
    background: linear-gradient(180deg, transparent 0%, rgba(24, 42, 76, 0.3) 100%);
}

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

.about-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.about-card:nth-child(4) {
    grid-column: 1 / -1;
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-orange);
    box-shadow: 0 10px 40px rgba(255, 135, 39, 0.2);
}

.about-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.about-card p {
    color: var(--color-white);
    opacity: 0.9;
    line-height: 1.8;
}

.about-quote {
    text-align: center;
    margin-top: 60px;
}

.about-quote blockquote {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    font-style: italic;
    color: var(--color-yellow);
    position: relative;
    padding: 20px 40px;
}

.about-quote blockquote::before,
.about-quote blockquote::after {
    content: '"';
    font-size: 4rem;
    color: var(--color-red);
    opacity: 0.3;
}

#services {
    background: radial-gradient(circle at center, rgba(234, 54, 73, 0.1) 0%, transparent 70%);
}

.services-wheel {
    position: relative;
    width: 600px;
    height: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wheel-center {
    position: absolute;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--color-red), var(--color-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-white);
    z-index: 10;
    box-shadow: 0 10px 40px rgba(234, 54, 73, 0.5);
}

.service-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140px;
    height: 140px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    padding: 20px;
    margin: -70px 0 0 -70px;
}

.service-item:hover {
    background: rgba(255, 135, 39, 0.2);
    border-color: var(--color-orange);
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 135, 39, 0.4);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.service-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-white);
}

.services-mobile {
    display: none;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--color-orange);
    transform: translateX(10px);
}

.service-card .service-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.service-card .service-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--color-orange);
}

.service-card .service-description {
    font-size: 0.95rem;
    color: var(--color-white);
    opacity: 0.8;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, var(--color-navy), var(--color-dark));
    margin: 10% auto;
    padding: 50px;
    border: 2px solid var(--color-orange);
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    position: relative;
    text-align: center;
    animation: slideDown 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: var(--color-white);
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--color-red);
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.modal-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-orange);
    margin-bottom: 20px;
}

.modal-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-white);
    opacity: 0.9;
}

#partners {
    background: linear-gradient(180deg, rgba(24, 42, 76, 0.3) 0%, transparent 100%);
    overflow: hidden;
}

.partners-carousel {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    position: relative;
}

.partners-track {
    display: flex;
    gap: 60px;
    animation: scrollPartners 30s linear infinite;
    width: max-content;
}

@keyframes scrollPartners {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partner-item {
    flex-shrink: 0;
    width: 200px;
    height: 120px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.partner-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-red), var(--color-orange));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.partner-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 135, 39, 0.4);
}

.partner-item:hover::before {
    opacity: 0.1;
}

.partner-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

#team {
    background: radial-gradient(circle at center, rgba(64, 138, 140, 0.1) 0%, transparent 70%);
}

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

.team-subsection-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-orange);
    margin-bottom: 30px;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.founders-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.team-member {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    border-color: var(--color-teal);
    box-shadow: 0 15px 40px rgba(64, 138, 140, 0.3);
}

.team-photo {
    width: clamp(128px, 20vw, 224px);
    height: clamp(128px, 20vw, 224px);
    aspect-ratio: 1 / 1;
    border-radius: 9999px;
    margin: 0 auto 20px;
    border: 4px solid var(--color-orange);
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-red), var(--color-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 40%;
    image-rendering: auto;
}

.team-photo img[data-member="diaa-najar"],
.team-photo img[data-member="moayad-wardiani"] {
    object-position: 50% 25%;
}

.team-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 5px;
}

.team-role {
    font-size: 1rem;
    color: var(--color-orange);
    margin-bottom: 20px;
    opacity: 0.9;
}

.team-contacts {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.contact-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.contact-link:hover {
    background: var(--color-orange);
    transform: translateY(-3px);
}

.sales-featured {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px 40px;
    border: 3px solid var(--color-red);
    box-shadow: 0 10px 40px rgba(234, 54, 73, 0.3);
    display: flex;
    align-items: center;
    gap: 40px;
    transition: all 0.3s ease;
    flex-wrap: wrap;
}

.sales-featured:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(234, 54, 73, 0.4);
}

.sales-featured .team-photo {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
}

.sales-info {
    flex: 1;
    min-width: 250px;
}

.sales-info .team-name {
    font-size: 2rem;
    margin-bottom: 8px;
}

.sales-info .team-role {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.sales-description {
    color: var(--color-white);
    opacity: 0.8;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.sales-contacts {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.sales-contacts .contact-link {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
}

@media (max-width: 768px) {
    .sales-featured {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }
    
    .sales-featured .team-photo {
        width: 160px;
        height: 160px;
    }
    
    .sales-contacts {
        justify-content: center;
    }
}

#contact {
    background: linear-gradient(180deg, rgba(24, 42, 76, 0.3) 0%, transparent 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 60px;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--color-white);
}

.form-group input,
.form-group textarea {
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-orange);
    background: rgba(255, 255, 255, 0.15);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: start;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-orange);
    margin-bottom: 5px;
}

.contact-info-item p {
    color: var(--color-white);
    opacity: 0.9;
}

.contact-info-item a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-item a:hover {
    color: var(--color-orange);
}

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

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--color-orange);
    transform: translateY(-3px);
}

footer {
    background: rgba(10, 15, 30, 0.9);
    padding: 40px 0;
    border-top: 1px solid rgba(234, 54, 73, 0.2);
}

.footer-content {
    text-align: center;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 20px;
}

.footer-text {
    color: var(--color-white);
    opacity: 0.7;
    margin-bottom: 10px;
}

.footer-slogan {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-white);
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

@media (max-width: 1024px) {
    .services-wheel {
        width: 500px;
        height: 500px;
    }
    
    .service-item {
        width: 120px;
        height: 120px;
        padding: 15px;
    }
    
    .service-icon {
        font-size: 2rem;
    }
    
    .service-title {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    nav ul {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(10, 15, 30, 0.98);
        width: 100%;
        padding: 30px;
        gap: 20px;
        transition: left 0.3s ease;
        border-bottom: 1px solid rgba(234, 54, 73, 0.2);
    }
    
    nav ul.active {
        left: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .services-wheel {
        display: none;
    }
    
    .services-mobile {
        display: block;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-wrapper {
        order: 2;
    }
    
    .contact-info {
        order: 1;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-card:nth-child(4) {
        grid-column: auto;
    }
    
    .team-grid,
    .founders-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        min-width: auto;
    }
    
    .modal-content {
        padding: 30px 20px;
        margin: 20% auto;
    }
    
    .partner-item {
        width: 150px;
        height: 100px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}

/* ===========================
   PORTFOLIO PAGE STYLES
   =========================== */

#portfolio-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 20px 60px;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-navy) 100%);
}

.portfolio-hero-content {
    text-align: center;
    z-index: 2;
}

.portfolio-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(234, 54, 73, 0.5);
    animation: fadeInUp 1s ease-out;
}

.portfolio-subtitle {
    font-size: 1.3rem;
    color: rgba(249, 249, 249, 0.8);
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.2s both;
}

#portfolio-content {
    padding: 80px 20px;
    min-height: 60vh;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 12px 28px;
    background: rgba(24, 42, 76, 0.5);
    color: var(--color-white);
    border: 2px solid rgba(234, 54, 73, 0.3);
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.filter-btn:hover {
    background: rgba(234, 54, 73, 0.2);
    border-color: var(--color-red);
    box-shadow: 0 0 20px rgba(234, 54, 73, 0.4);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--color-red), var(--color-orange));
    border-color: var(--color-red);
    box-shadow: 0 0 25px rgba(234, 54, 73, 0.6);
}

.subcategory-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    min-height: 40px;
}

.subfilter-btn {
    padding: 8px 20px;
    background: rgba(64, 138, 140, 0.2);
    color: var(--color-white);
    border: 1px solid rgba(64, 138, 140, 0.4);
    border-radius: 25px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subfilter-btn:hover {
    background: rgba(64, 138, 140, 0.3);
    border-color: var(--color-teal);
    box-shadow: 0 0 15px rgba(64, 138, 140, 0.3);
}

.subfilter-btn.active {
    background: var(--color-teal);
    border-color: var(--color-teal);
    box-shadow: 0 0 20px rgba(64, 138, 140, 0.5);
}

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

.project-card {
    background: rgba(24, 42, 76, 0.4);
    border: 1px solid rgba(234, 54, 73, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: fadeInUp 0.6s ease-out both;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--color-red);
    box-shadow: 0 10px 40px rgba(234, 54, 73, 0.4);
}

.project-thumbnail {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(234, 54, 73, 0.3), rgba(255, 135, 39, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-thumbnail svg {
    width: 60px;
    height: 60px;
    color: var(--color-white);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.project-card:hover .project-thumbnail svg {
    transform: scale(1.2);
    opacity: 1;
}

.platform-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: rgba(10, 15, 30, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.platform-icon svg {
    width: 20px;
    height: 20px;
}

.project-info {
    padding: 25px;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 8px;
    line-height: 1.3;
}

.project-client {
    font-size: 0.9rem;
    color: rgba(249, 249, 249, 0.7);
    margin-bottom: 12px;
}

.project-type {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(255, 135, 39, 0.2);
    color: var(--color-orange);
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-view-btn {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--color-red), var(--color-orange));
    color: var(--color-white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.project-view-btn:hover {
    box-shadow: 0 5px 20px rgba(234, 54, 73, 0.5);
    transform: translateY(-2px);
}

.no-projects {
    text-align: center;
    padding: 60px 20px;
    color: rgba(249, 249, 249, 0.6);
    font-size: 1.2rem;
}

.project-card.hidden {
    display: none;
}

/* Portfolio Responsive */
@media (max-width: 768px) {
    .portfolio-title {
        font-size: 2.5rem;
    }
    
    .portfolio-subtitle {
        font-size: 1.1rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    #portfolio-content {
        padding: 50px 20px;
    }
}

@media (max-width: 480px) {
    .portfolio-title {
        font-size: 2rem;
    }
    
    .portfolio-filters {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}
