/* Global Styles */
:root {
    --primary-color: #ff6b00;
    --secondary-color: #ff8534;
    --dark-color: #1a1a1a;
    --darker-color: #000000;
    --light-color: #ffffff;
    --gray-color: #888888;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--light-color);
    background-color: var(--darker-color);
    overflow-x: hidden;
}

/* Particles Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

/* Navigation */
.navbar {
    background-color: rgba(0, 0, 0, 0.9);
    transition: var(--transition);
    padding: 0.5rem 0;
    z-index: 1000;
}

.navbar.scrolled {
    background-color: var(--darker-color);
    box-shadow: 0 2px 10px rgba(255, 107, 0, 0.2);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--light-color) !important;
    padding: 0;
}

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

.brand-text {
    margin-left: 5px;
}

.navbar-brand:hover .brand-logo {
    transform: scale(1.05);
}

.text-orange {
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
    color: var(--light-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    padding-top: 60px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.profile-img-container {
    max-width: 250px;
    margin: 0 auto;
}

.profile-img {
    border-radius: 20px;
    position: relative;
    z-index: 2;
    border: 1px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.2);
    width: 100%;
    height: auto;
}

.img-border {
    position: absolute;
    top: 10px;
    left: 10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    z-index: 1;
}

.display-4 {
    font-size: 2.2rem !important;
}

.lead {
    font-size: 1.1rem !important;
}

/* Social Links */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-5px);
    background-color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

/* Section Styles */
.section-padding {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.bg-darker {
    background-color: var(--dark-color);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Skills Section */
.skill-card {
    background-color: var(--dark-color);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 30px;
    border: 1px solid var(--primary-color);
    transition: var(--transition);
    position: relative;
    height: 100%;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    z-index: 1;
    pointer-events: none;
}

.skill-card-content {
    position: relative;
    z-index: 2;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.2);
}

.skill-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.skill-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--light-color);
}

.progress {
    height: 5px;
    background-color: rgba(255, 107, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 15px;
}

.progress-bar {
    background-color: var(--primary-color);
    transition: width 1s ease-in-out;
}

/* Service Cards */
.service-card {
    background-color: var(--dark-color);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--primary-color);
    transition: var(--transition);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 107, 0, 0.1));
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 0, 0.2);
}

.service-card:hover::before {
    transform: scale(1.2);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Blog Cards */
.blog-card {
    background-color: var(--dark-color);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--primary-color);
    transition: var(--transition);
    margin-bottom: 30px;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 0, 0.2);
}

.blog-img {
    height: 200px;
    overflow: hidden;
}

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

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

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* Contact Section */
.contact-info {
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    background-color: var(--dark-color);
    padding: 20px;
    border-radius: 10px;
    transition: var(--transition);
}

.info-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.2);
}

.info-item i {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    margin-right: 20px;
    font-size: 1.2rem;
}

/* Contact Form Styles */
.contact-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--light-color);
    padding: 12px 20px;
    border-radius: 10px;
    transition: var(--transition);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

.contact-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.3);
    color: var(--light-color);
}

.contact-form .invalid-feedback {
    color: #ff4444;
    font-size: 0.875rem;
    margin-top: -0.75rem;
    margin-bottom: 1rem;
}

.contact-form .was-validated .form-control:invalid {
    border-color: #ff4444;
    background-color: rgba(255, 68, 68, 0.1);
}

.contact-form .was-validated .form-control:valid {
    border-color: #00C851;
    background-color: rgba(0, 200, 81, 0.1);
}

/* Contact Info Styles */
.contact-info .info-item a {
    color: var(--light-color);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Form Alert Styles */
.alert {
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.alert-success {
    background-color: rgba(0, 200, 81, 0.1);
    border: 1px solid #00C851;
    color: #00C851;
}

.alert-danger {
    background-color: rgba(255, 68, 68, 0.1);
    border: 1px solid #ff4444;
    color: #ff4444;
}

/* Buttons */
.btn-orange {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 12px 30px;
    border-radius: 10px;
    border: none;
    transition: var(--transition);
}

.btn-orange:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
    color: var(--light-color);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.profile-img-container {
    animation: float 6s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-section {
        text-align: center;
        padding: 120px 0 80px;
    }

    .profile-img-container {
        margin-top: 30px;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 70px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 35px;
    }

    .contact-form {
        margin-top: 2rem;
    }
    
    .contact-info .info-item {
        padding: 15px;
    }
    
    .contact-form .form-control {
        padding: 10px 15px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }

    .brand-logo {
        height: 40px;
    }
    
    .brand-text {
        font-size: 1.2rem;
    }
}

/* About Section */
.about-img-container {
    max-width: 350px;
    position: relative;
    margin: 0 auto;
}

.about-img {
    border-radius: 20px;
    position: relative;
    z-index: 2;
    border: 1px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.2);
    width: 100%;
    height: auto;
}

.about-img-container .img-border {
    position: absolute;
    top: 10px;
    left: 10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    z-index: 1;
}