/* 
   SIIEA.ai Website Styles
   Modern, Futuristic Design
*/

/* Variables */
:root {
    /* Futuristic Color Scheme */
    --primary: #3a86ff;
    --primary-dark: #2667cc;
    --secondary: #8338ec;
    --accent: #ff006e;
    --light: #f8f9fa;
    --dark: #0a192f;
    --gray: #8892b0;
    --gray-light: #ccd6f6;
    
    /* Font Families - More distinctive */
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--light);
    background-color: var(--dark);
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.highlight {
    color: var(--primary);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 40%;
    background-color: rgba(58, 134, 255, 0.1);
    bottom: 0;
    left: 0;
    z-index: -1;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    font-size: 14px;
    z-index: 1;
}

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

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

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: var(--light);
    box-shadow: 0 4px 15px rgba(58, 134, 255, 0.3);
}

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

.btn-secondary:hover {
    background: rgba(58, 134, 255, 0.1);
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.separator {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 0 auto;
    border-radius: 2px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: rgba(10, 25, 47, 0.7);
    backdrop-filter: blur(15px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(58, 134, 255, 0.1);
}

.navbar.scrolled {
    padding: 15px 0;
    background-color: rgba(10, 25, 47, 0.9);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(58, 134, 255, 0.2);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--light);
    position: relative;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo::after {
    content: '.ai';
    font-weight: 400;
    color: var(--secondary);
    opacity: 0.9;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 40px;
}

.nav-menu a {
    position: relative;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 0;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    background: rgba(58, 134, 255, 0.1);
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(58, 134, 255, 0.2);
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 150px 0;
}

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

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

.logo-animation {
    position: relative;
    margin-bottom: 30px;
}

.glowing-circle {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    top: -30px;
    left: -20px;
    opacity: 0.8;
    filter: blur(20px);
    animation: pulse 5s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.2);
        opacity: 0.9;
    }
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 25px;
    line-height: 1.2;
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--gray-light);
    margin-bottom: 40px;
    font-weight: 300;
    line-height: 1.6;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-item {
    display: flex;
    align-items: center;
    background: rgba(10, 25, 47, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 18px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(58, 134, 255, 0.3);
}

.feature-item i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 1.1rem;
}

.hero-visual {
    position: relative;
    width: 500px;
    height: 500px;
}

/* Slideshow Styling */
.fullwidth-slideshow {
    position: relative;
    width: 100%;
    margin-top: 60px;
    overflow: hidden;
}

.slideshow-container {
    position: relative;
    width: 90%;
    max-width: 1600px;
    height: 600px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 5;
    margin: 0 auto;
}

.slideshow-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.6), rgba(10, 25, 47, 0.3));
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(58, 134, 255, 0.25), 
        rgba(10, 25, 47, 0.1), 
        rgba(131, 56, 236, 0.25));
    z-index: 1;
    mix-blend-mode: overlay;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.1) brightness(0.8);
}

.neural-network-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/assets/neural-network-overlay.svg') repeat;
    opacity: 0.15;
    z-index: 4;
    mix-blend-mode: lighten;
    animation: pulse-overlay 8s infinite alternate;
    pointer-events: none;
}

@keyframes pulse-overlay {
    0% {
        opacity: 0.1;
        transform: scale(1);
    }
    100% {
        opacity: 0.2;
        transform: scale(1.05);
    }
}

/* Neural network animation */
.neural-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 6;
    pointer-events: none;
}

.node {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    opacity: 0.7;
    animation: pulse-node 3s infinite alternate;
}

.n1 { top: 20%; left: 10%; animation-delay: 0s; }
.n2 { top: 30%; left: 25%; animation-delay: 0.5s; }
.n3 { top: 60%; left: 15%; animation-delay: 1s; }
.n4 { top: 40%; right: 20%; animation-delay: 1.5s; }
.n5 { top: 70%; right: 30%; animation-delay: 2s; }
.n6 { top: 25%; right: 15%; animation-delay: 2.5s; }
.n7 { top: 50%; left: 50%; animation-delay: 1.2s; }

@keyframes pulse-node {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0.8;
    }
}

.connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0.3;
    z-index: 3;
    animation: data-flow 4s infinite linear;
}

.c1 {
    top: 22%;
    left: 11%;
    width: 15%;
    transform: rotate(15deg);
    animation-delay: 0.2s;
}

.c2 {
    top: 45%;
    left: 26%;
    width: 25%;
    transform: rotate(-25deg);
    animation-delay: 0.8s;
}

.c3 {
    top: 55%;
    right: 31%;
    width: 20%;
    transform: rotate(40deg);
    animation-delay: 1.4s;
}

.c4 {
    top: 35%;
    right: 16%;
    width: 15%;
    transform: rotate(-15deg);
    animation-delay: 2s;
}

.c5 {
    top: 28%;
    left: 46%;
    width: 12%;
    transform: rotate(65deg);
    animation-delay: 1.1s;
}

.c6 {
    top: 65%;
    left: 35%;
    width: 18%;
    transform: rotate(-50deg);
    animation-delay: 0.5s;
}

@keyframes data-flow {
    0% {
        background-position: 0% 0%;
        opacity: 0.2;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        background-position: 100% 0%;
        opacity: 0.2;
    }
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    filter: brightness(0.8) contrast(1.2);
}

.slideshow-indicators {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.5);
}

.indicator.active {
    background: var(--primary);
    transform: scale(1.2);
    box-shadow: 0 0 10px var(--primary);
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    animation: float 10s infinite ease-in-out;
}

.e1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 30%;
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.2), rgba(131, 56, 236, 0.2));
    animation-delay: 0s;
}

.e2 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 20%;
    background: linear-gradient(135deg, rgba(131, 56, 236, 0.2), rgba(255, 0, 110, 0.2));
    animation-delay: 2s;
}

.e3 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 40%;
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.2), rgba(58, 134, 255, 0.2));
    animation-delay: 4s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

#hero-animation {
    width: 100%;
    height: 400px;
    position: relative;
    z-index: 3;
}

.glow-effect {
    position: relative;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    border-radius: 40px;
    z-index: -1;
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-effect:hover::before {
    opacity: 0.8;
}

/* Scroll indicator styling */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
    margin-bottom: 10px;
}

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

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

.arrow span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid var(--primary);
    border-right: 2px solid var(--primary);
    transform: rotate(45deg);
    margin: -5px;
    animation: arrow 2s infinite;
}

.arrow span:nth-child(2) {
    animation-delay: -0.2s;
}

.arrow span:nth-child(3) {
    animation-delay: -0.4s;
}

@keyframes arrow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-10px, -10px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(10px, 10px);
    }
}

/* About Section */
.about-content {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-subtitle {
    font-size: 1.5rem;
    margin: 10px 0 15px;
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.about-subtitle:first-of-type {
    margin-top: 0;
}

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

.about-text p,
.about-vision-block p,
.about-approach-block p,
.about-impact-block p {
    margin-bottom: 30px;
    color: var(--gray-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

.impact-animation {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    background: rgba(10, 25, 47, 0.3);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(58, 134, 255, 0.2);
    justify-content: center;
}

.impact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 120px;
    position: relative;
}

.impact-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.impact-icon {
    font-size: 2rem;
    color: var(--light);
}

.impact-ripple {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid rgba(58, 134, 255, 0.5);
    animation: ripple 3s infinite ease-out;
}

.impact-container:nth-child(2) .impact-ripple {
    animation-delay: 1s;
}

.impact-container:nth-child(3) .impact-ripple {
    animation-delay: 2s;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.impact-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 8px;
    font-family: var(--font-heading);
    text-align: center;
    width: 100%;
}

.impact-description {
    font-size: 0.9rem;
    color: var(--gray-light);
    max-width: 180px;
    line-height: 1.5;
}

.impact-container:hover .impact-circle {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(58, 134, 255, 0.4);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .impact-animation {
        flex-direction: column;
        gap: 40px;
    }
    
    .impact-container {
        width: 100%;
    }
    
    .impact-description {
        max-width: 100%;
    }
}

.about-image {
    flex: 1;
    position: relative;
}

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: absolute;
    bottom: 30px;
    right: -20px;
    width: 200px;
}

.mini-card {
    background: rgba(10, 25, 47, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(58, 134, 255, 0.2);
    transition: all 0.3s ease;
    transform: translateX(30px);
}

.mini-card:hover {
    transform: translateX(0);
    border-color: var(--primary);
}

.mini-card i {
    color: var(--primary);
    font-size: 1.2rem;
}

.mini-card:nth-child(2) {
    transform: translateX(60px);
}

.mini-card:nth-child(2):hover {
    transform: translateX(0);
}

.mini-card:nth-child(3) {
    transform: translateX(90px);
}

.mini-card:nth-child(3):hover {
    transform: translateX(0);
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-cards {
        position: static;
        flex-direction: row;
        margin-top: 20px;
        width: 100%;
    }
    
    .mini-card, .mini-card:nth-child(2), .mini-card:nth-child(3) {
        transform: translateX(0);
        flex: 1;
    }
}

.image-placeholder {
    width: 100%;
    height: 350px;
    background: linear-gradient(45deg, rgba(58, 134, 255, 0.1), rgba(131, 56, 236, 0.1));
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: linear-gradient(135deg, transparent 20%, rgba(58, 134, 255, 0.1) 40%, rgba(131, 56, 236, 0.1) 60%, transparent 80%);
    top: -25%;
    left: -25%;
    animation: shine 5s infinite linear;
}

.full-width-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.full-width-img:hover {
    transform: scale(1.02);
}

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

/* Focus Cards */
.focus-cards {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.4));
    padding: 40px 30px;
    border-radius: 15px;
    flex: 1;
    min-width: 300px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 350px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.card p {
    color: var(--gray-light);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.card-detail {
    background: rgba(58, 134, 255, 0.1);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.card:hover .card-detail {
    background: rgba(58, 134, 255, 0.2);
    transform: translateY(-3px);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.1), rgba(131, 56, 236, 0.1));
    clip-path: circle(0% at 0 0);
    transition: all 0.5s ease-out;
}

.card:hover::before,
.card.focus-card-active::before {
    clip-path: circle(150% at 0 0);
}

.card:hover,
.card.focus-card-active {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    z-index: 10;
    border-color: var(--primary);
}

.card.focus-card-inactive {
    filter: blur(2px);
    opacity: 0.7;
    transform: scale(0.95);
}

/* Add glowing border effect on hover */
.card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    border-radius: 17px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::after,
.card.focus-card-active::after {
    opacity: 1;
}

/* Enhanced card icon */
.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.card-icon::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(58, 134, 255, 0.2);
    border-radius: 50%;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.card:hover .card-icon::before,
.card.focus-card-active .card-icon::before {
    width: 60px;
    height: 60px;
    background: rgba(58, 134, 255, 0.3);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.card p {
    color: var(--gray-light);
}

/* Portfolio */
.portfolio-showcase {
    margin-top: 50px;
}

.portfolio-item {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 100px;
    flex-wrap: wrap;
    position: relative;
    transition: all 0.4s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
}

.portfolio-item.reverse {
    flex-direction: row-reverse;
}

.portfolio-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.portfolio-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.2), rgba(131, 56, 236, 0.2));
    pointer-events: none;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: rgba(10, 25, 47, 0.8);
    color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--primary);
}

.animated-frame {
    position: relative;
}

.animated-frame::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary);
    border-radius: 20px;
    z-index: -1;
    animation: pulse-border 3s infinite ease-in-out;
}

.animated-frame::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 2px dashed var(--secondary);
    border-radius: 25px;
    z-index: -2;
    opacity: 0.5;
    animation: rotate-border 20s infinite linear;
}

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

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

.image-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.image-particles::before,
.image-particles::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.7;
    filter: blur(1px);
    animation: float-particle 8s infinite linear;
}

.image-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.image-particles::after {
    bottom: 30%;
    right: 15%;
    width: 15px;
    height: 15px;
    background: var(--secondary);
    animation-delay: 3s;
    animation-duration: 10s;
}

@keyframes float-particle {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, 30px) rotate(90deg); }
    50% { transform: translate(0, 60px) rotate(180deg); }
    75% { transform: translate(-30px, 30px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

.animated-frame {
    transition: all 0.5s ease;
}

.animated-frame:hover {
    transform: scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.animated-frame:hover .portfolio-overlay {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    font-weight: 700;
}

/* Add additional particles to make images more interesting */
.portfolio-image::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.4;
    top: 30%;
    left: 20%;
    z-index: 2;
    animation: float-glow 8s infinite ease-in-out;
}

@keyframes float-glow {
    0% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.5); opacity: 0.2; top: 40%; left: 25%; }
    100% { transform: scale(1); opacity: 0.4; }
}

.portfolio-info {
    flex: 1;
    min-width: 300px;
    position: relative;
    z-index: 2;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0.1;
    filter: blur(30px);
    z-index: -1;
    transition: all 0.5s ease;
}

.portfolio-item:hover::before {
    width: 200px;
    height: 200px;
    opacity: 0.2;
}

@media (max-width: 768px) {
    .portfolio-item, .portfolio-item.reverse {
        flex-direction: column;
    }
    
    .portfolio-image {
        width: 100%;
    }
}

.portfolio-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.portfolio-info p {
    margin-bottom: 20px;
    color: var(--gray-light);
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.portfolio-tags span {
    background: rgba(58, 134, 255, 0.1);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Contact Section */
.contact-content {
    display: flex;
    justify-content: center;
    width: 100%;
}

.contact-form-container {
    max-width: 600px;
    width: 100%;
    padding: 40px;
    background: rgba(10, 25, 47, 0.5);
    border-radius: 20px;
    border: 1px solid rgba(58, 134, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(58, 134, 255, 0.3);
    border-radius: 12px;
    color: var(--light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(58, 134, 255, 0.1);
    box-shadow: 0 0 15px rgba(58, 134, 255, 0.2);
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 20px;
}

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

.social-links a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--light);
    transform: translateY(-5px);
}

/* Submit button styling */
#contactForm .btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 10px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border: none;
    box-shadow: 0 5px 15px rgba(58, 134, 255, 0.4);
}

#contactForm .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(58, 134, 255, 0.6);
}

/* Footer */
footer {
    background-color: rgba(10, 15, 30, 1);
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content,
    .portfolio-item {
        flex-direction: column;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-image {
        margin-left: 0;
        margin-top: 50px;
    }
    
    .focus-cards {
        justify-content: center;
    }
    
    .card {
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(10, 25, 47, 0.95);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        transform: translateY(-150%);
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    section {
        padding: 80px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 1200px) {
    .slideshow-container {
        height: 500px;
    }
    
    .neural-animation .node,
    .neural-animation .connection {
        transform: scale(0.8);
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .slideshow-container {
        width: 95%;
        height: 400px;
    }
    
    .animated-frame::before,
    .animated-frame::after {
        display: none;
    }
    
    .neural-animation .connection {
        width: 15% !important;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        max-width: 100%;
    }
    
    .slideshow-container {
        height: 350px;
    }
    
    .neural-animation .node:nth-child(odd),
    .neural-animation .connection:nth-child(even) {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .card {
        min-width: 100%;
    }
    
    .slideshow-container {
        height: 250px;
    }
    
    .neural-animation {
        display: none;
    }
}
