/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1a2e 100%);
}

.hero-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    color: #fff;
    height: 100vh;
    padding: 2rem 0;
}

.hero-text {
    flex: 1;
    max-width: 600px;
    padding-right: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero h1 .highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 8px;
    background: var(--primary-color);
    bottom: 5px;
    left: 0;
    z-index: -1;
    opacity: 0.3;
    border-radius: 4px;
}

.hero-tagline {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #f0f0f0;
    height: 2.2rem;
    display: flex;
    align-items: center;
}

.hero-tagline span {
    font-weight: 600;
    color: var(--primary-color);
}

.hero .description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #ccc;
    line-height: 1.6;
}

.hero-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
    max-width: 450px;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: #fff;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(var(--primary-rgb), 0.3);
}

.skill-tag i {
    margin-right: 6px;
    font-size: 1rem;
}

.skill-tag:nth-child(1) { background: rgba(236, 102, 40, 0.2); }
.skill-tag:nth-child(2) { background: rgba(247, 223, 30, 0.2); }
.skill-tag:nth-child(3) { background: rgba(131, 96, 195, 0.2); }
.skill-tag:nth-child(4) { background: rgba(97, 218, 251, 0.2); }
.skill-tag:nth-child(5) { background: rgba(104, 160, 99, 0.2); }
.skill-tag:nth-child(6) { background: rgba(53, 114, 165, 0.2); }
.skill-tag:nth-child(7) { background: rgba(66, 133, 244, 0.2); }
.skill-tag:nth-child(8) { background: rgba(76, 175, 80, 0.2); }
.skill-tag:nth-child(9) { background: rgba(10, 207, 131, 0.2); }
.skill-tag:nth-child(10) { background: rgba(240, 80, 51, 0.2); }

.skill-tag:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
    cursor: default;
}

.cta-buttons {
    margin-bottom: 2rem;
}

.hero-social {
    display: flex;
    align-items: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    margin-right: 15px;
    font-size: 1.2rem;
    transition: var(--transition);
}

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.profile-container {
    position: relative;
}

.profile-wrapper {
    width: 380px;
    height: 480px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 5px solid rgba(255, 255, 255, 0.1);
}

.profile-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.profile-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-container:hover .profile-wrapper img {
    transform: scale(1.05);
}

.profile-badge {
    position: absolute;
    bottom: -25px;
    right: -15px;
    background: var(--primary-color);
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.profile-badge::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 15px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--primary-color);
}

.profile-badge span {
    display: block;
    color: #fff;
}

.profile-badge span:first-child {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.profile-badge span:last-child {
    font-size: 0.9rem;
    opacity: 0.9;
}

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

.hero-scroll-down a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    transition: var(--transition);
}

.hero-scroll-down a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
}

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

/* Section Title */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* About Section */
.home-about {
    padding: 6rem 0;
    background: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.about-image {
    position: relative;
    max-width: 350px;
    margin: 0 auto;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
    padding-right: 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: #555;
    font-size: 1.1rem;
}

.about-btn {
    display: inline-block;
    background: linear-gradient(135deg, #6C63FF 0%, #4a47a3 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.about-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.4);
    color: white;
}

.about-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4a47a3 0%, #6C63FF 100%);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.about-btn:hover::before {
    opacity: 1;
}

/* Skills Section */
.skills-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

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

.skill-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(108, 99, 255, 0.1);
}

.skill-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

.skill-card p {
    color: #666;
    line-height: 1.6;
}

/* Projects Preview */
.projects-preview {
    padding: 6rem 0;
    background: #fff;
}

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

.project-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(108, 99, 255, 0.1);
}

.project-image {
    height: 220px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    color: var(--secondary-color);
}

.project-content p {
    margin-bottom: 1.2rem;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.view-all {
    text-align: center;
    margin-top: 3rem;
}

/* Contact Preview */
.contact-preview {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a47a3 100%);
    text-align: center;
    color: #fff;
}

.contact-preview .section-title {
    color: #fff;
}

.contact-preview .section-title::after {
    background: #fff;
}

.contact-text {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* Button Text */
.btn-text {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.btn-text:hover {
    transform: translateX(5px);
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: #f8f9fa;
    position: relative;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial-item {
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 1rem;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 2rem);
    transition: opacity 0.5s ease;
    display: none;
}

.testimonial-item.active {
    opacity: 1;
    position: relative;
    display: block;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    font-style: italic;
    position: relative;
}

.testimonial-content p::before {
    content: '\201C';
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    top: -1.5rem;
    left: -1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid var(--primary-color);
}

.author-info h4 {
    margin-bottom: 0.2rem;
    color: var(--secondary-color);
}

.author-info p {
    margin: 0;
    color: #777;
    font-size: 0.9rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
}

/* Timeline Section */
.timeline-section {
    padding: 6rem 0;
    background: #fff;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    padding: 1rem 0;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 3rem;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 3rem;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: #fff;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: 1.5rem;
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -13px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -13px;
}

.timeline-date {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.timeline-content {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-content h3 {
    margin-bottom: 0.8rem;
    color: var(--secondary-color);
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* Services Feature Section */
.services-feature {
    padding: 6rem 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.services-feature::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(108, 99, 255, 0.05);
    top: -100px;
    right: -100px;
    z-index: 1;
}

.services-feature::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(108, 99, 255, 0.05);
    bottom: -50px;
    left: -50px;
    z-index: 1;
}

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

.service-box {
    background: #fff;
    border-radius: 15px;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1) 0%, rgba(74, 71, 163, 0.1) 100%);
    z-index: -1;
    transition: height 0.4s ease;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(108, 99, 255, 0.1);
}

.service-box:hover::before {
    height: 100%;
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1) 0%, rgba(74, 71, 163, 0.2) 100%);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.service-box:hover .service-icon {
    background: linear-gradient(135deg, #6C63FF 0%, #4a47a3 100%);
    color: #fff;
    transform: rotateY(180deg);
}

.service-box h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: #2c3e50;
}

.service-box p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        max-width: 300px;
        margin: 0 auto 1rem;
    }
    
    .about-text {
        padding-right: 0;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .tagline {
        font-size: 1.2rem;
    }
    
    .hero .description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 6rem;
    }
    
    .hero-text {
        margin-bottom: 3rem;
        padding-right: 0;
    }
    
    .hero-skills {
        justify-content: center;
        margin: 0 auto 2rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 5rem;
        padding-right: 1rem;
        text-align: left;
    }
    
    .timeline-item:nth-child(odd) {
        left: 0;
        padding-right: 1rem;
        padding-left: 5rem;
        text-align: left;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-dot {
        left: 20px;
        right: auto;
    }
    
    .timeline-item:nth-child(even) .timeline-dot {
        left: 20px;
    }
}

/* Particles Section */
.particles-section {
    padding: 6rem 0;
    background: #0a0a1a;
    position: relative;
    overflow: hidden;
}

.particles-section .section-title {
    color: #fff;
    margin-bottom: 4rem;
}

.particles-section .section-title::after {
    background: var(--primary-color);
}

.particles-container {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    z-index: 1;
}

.particles-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    width: 80%;
    max-width: 600px;
    padding: 2rem;
    background: rgba(26, 26, 46, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.particles-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #6C63FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.particles-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.particles-cta {
    margin-top: 1.5rem;
}

.particles-cta .btn {
    padding: 12px 30px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
}

@media (max-width: 768px) {
    .particles-container {
        height: 300px;
    }
    
    .particles-content h3 {
        font-size: 1.8rem;
    }
    
    .particles-content p {
        font-size: 1rem;
    }
} 