:root {
    --primary-color: #b71c1c; /* Dark Red */
    --secondary-color: #d32f2f; /* Bright Red */
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --text-color: #ffffff;
    --text-muted: #b3b3b3;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
}

/* Loader */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid var(--text-muted);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

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

.logo a {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
}

.logo span {
    color: var(--primary-color);
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(20, 20, 20, 0.9));
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/IMG_20250503_155620.jpg') center/cover no-repeat;
    filter: brightness(0.3);
    z-index: -1;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 500px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.hero-image:hover img {
    transform: translateY(-10px);
}

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

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #d32f2f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 600;
}

.hero-text p {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-buttons .btn {
    min-width: 120px;
}

/* Tech Icons */
.tech-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.tech-icon {
    position: absolute;
    font-size: 2rem;
    animation: floatIcon 15s infinite linear;
    filter: drop-shadow(0 0 8px currentColor);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.tech-icon:hover {
    opacity: 1;
    transform: scale(1.2);
    filter: drop-shadow(0 0 12px currentColor);
}

/* Individual Icon Colors */
.tech-icon.fa-angular {
    color: #dd0031 !important; /* Bright Red */
}

.tech-icon.fa-figma {
    color: #f24e1e !important; /* Bright Orange */
}

.tech-icon.fa-html5 {
    color: #e34f26 !important; /* Bright Orange-Red */
}

.tech-icon.fa-css3-alt {
    color: #264de4 !important; /* Bright Blue */
}

.tech-icon.fa-js {
    color: #f7df1e !important; /* Bright Yellow */
}

.tech-icon.fa-github {
    color: #ffffff !important; /* Bright White */
}

.tech-icon.fa-database {
    color: #00b4d8 !important; /* Bright Cyan */
}

/* Icon Positions */
.tech-icon:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.tech-icon:nth-child(2) { top: 30%; right: 15%; animation-delay: -2s; }
.tech-icon:nth-child(3) { top: 60%; left: 20%; animation-delay: -4s; }
.tech-icon:nth-child(4) { top: 40%; right: 25%; animation-delay: -6s; }
.tech-icon:nth-child(5) { top: 70%; left: 30%; animation-delay: -8s; }
.tech-icon:nth-child(6) { top: 25%; right: 35%; animation-delay: -10s; }
.tech-icon:nth-child(7) { top: 80%; left: 40%; animation-delay: -12s; }

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

/* About Section */
.about {
    padding: 6rem 2rem;
    background: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(26, 35, 126, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

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

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 165, 0, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-wrapper:hover .image-overlay {
    opacity: 1;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(45deg, #b71c1c, #d32f2f);
    padding: 1rem;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(183, 28, 28, 0.3);
    animation: float 3s ease-in-out infinite;
}

.experience-badge .years {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
}

.experience-badge .text {
    font-size: 0.8rem;
    color: var(--text-color);
    text-align: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #b71c1c, #d32f2f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text .highlight {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.expertise-list {
    list-style: none;
    margin: 1.5rem 0;
}

.expertise-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.expertise-list li i {
    color: var(--primary-color);
    margin-right: 1rem;
}

.about-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.about-buttons .btn {
    min-width: 110px;
}

/* Social Links Section */
.social-links-section {
    padding: 4rem 2rem;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.social-links-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(183, 28, 28, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(183, 28, 28, 0.1) 0%, transparent 50%);
    animation: gradientMove 15s ease infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

.social-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.social-card {
    position: relative;
    height: 120px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(183, 28, 28, 0.1);
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(183, 28, 28, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(183, 28, 28, 0.2);
    border-color: rgba(183, 28, 28, 0.3);
}

.social-card:hover::before {
    transform: translateX(100%);
}

.social-card i {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    z-index: 1;
    transition: all 0.3s ease;
}

.social-card span {
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 1;
    transition: all 0.3s ease;
}

.social-card:hover i,
.social-card:hover span {
    transform: translateY(-3px);
}

/* Social Card Backgrounds */
.dribbble {
    background: linear-gradient(45deg, rgba(234, 76, 137, 0.05), rgba(255, 107, 156, 0.05));
}

.behance {
    background: linear-gradient(45deg, rgba(0, 87, 255, 0.05), rgba(0, 163, 255, 0.05));
}

.linkedin {
    background: linear-gradient(45deg, rgba(0, 119, 181, 0.05), rgba(0, 160, 220, 0.05));
}

.pinterest {
    background: linear-gradient(45deg, rgba(230, 0, 35, 0.05), rgba(255, 77, 77, 0.05));
}

/* Social Card Hover Effects */
.dribbble:hover {
    background: linear-gradient(45deg, rgba(234, 76, 137, 0.1), rgba(255, 107, 156, 0.1));
}

.behance:hover {
    background: linear-gradient(45deg, rgba(0, 87, 255, 0.1), rgba(0, 163, 255, 0.1));
}

.linkedin:hover {
    background: linear-gradient(45deg, rgba(0, 119, 181, 0.1), rgba(0, 160, 220, 0.1));
}

.pinterest:hover {
    background: linear-gradient(45deg, rgba(230, 0, 35, 0.1), rgba(255, 77, 77, 0.1));
}

/* Responsive Design for Social Links */
@media (max-width: 1200px) {
    .social-cards {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
        gap: 1.5rem;
    }
    
    .social-card {
        height: 100px;
    }
}

@media (max-width: 768px) {
    .social-links-section {
        padding: 3rem 1rem;
    }
    
    .social-cards {
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .social-card {
        height: 90px;
    }
    
    .social-card i {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
    }
    
    .social-card span {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .social-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .social-card {
        height: 80px;
    }
    
    .social-card i {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .social-card span {
        font-size: 0.75rem;
    }
}

/* Contact Form Styles */
.contact {
    padding: 6rem 2rem;
    background: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.contact-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 0 2rem;
}

.contact-info {
    background: var(--dark-bg);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-item {
    margin-bottom: 2.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-item i {
    font-size: 2rem;
    color: #b71c1c;
    background: rgba(183, 28, 28, 0.1);
    padding: 1rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    transform: translateY(-5px);
    background: #b71c1c;
    color: var(--text-color);
}

.contact-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.contact-item p {
    color: var(--text-muted);
}

.contact-form {
    background: var(--dark-bg);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
}

.form-group {
    margin-bottom: 2rem;
    width: 100%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    border-radius: 12px;
    color: var(--text-color);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.form-group textarea {
    height: 180px;
    resize: none;
}

.contact-form .btn {
    width: 100%;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

/* Services Section */
.services {
    padding: 6rem 2rem;
    background: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(26, 35, 126, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: rgba(26, 26, 26, 0.5);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 165, 0, 0.1);
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(26, 35, 126, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(183, 28, 28, 0.2);
    border-color: rgba(183, 28, 28, 0.3);
}

.service-card:hover::before {
    transform: translateX(100%);
}

.service-icon {
    position: relative;
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 2rem;
    transition: all 0.4s ease;
}

.service-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: pulse 2s infinite;
}

.service-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(26, 35, 126, 0.3);
    animation: rotate 10s linear infinite;
}

.service-icon i {
    font-size: 3rem;
    color: var(--text-color);
    z-index: 1;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

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

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: var(--text-color);
    position: relative;
    display: inline-block;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transition: width 0.4s ease;
}

.service-card:hover h3::after {
    width: 80%;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.service-tech {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
}

.service-tech li {
    background: rgba(183, 28, 28, 0.1);
    color: #d32f2f;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(183, 28, 28, 0.2);
}

.service-tech li:hover {
    background: #b71c1c;
    color: var(--text-color);
    border-color: #b71c1c;
    box-shadow: 0 5px 15px rgba(183, 28, 28, 0.2);
}

/* New Animations */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

/* Responsive Design for Services */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .service-icon {
        width: 100px;
        height: 100px;
    }
    
    .service-icon i {
        font-size: 2.5rem;
    }
    
    .service-card h3 {
        font-size: 1.6rem;
    }
    
    .service-card p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 90px;
        height: 90px;
        margin-bottom: 1.5rem;
    }
    
    .service-icon i {
        font-size: 2.2rem;
    }
    
    .service-card h3 {
        font-size: 1.4rem;
    }
    
    .service-tech li {
        padding: 0.3rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Experience Section */
.experience {
    padding: 6rem 2rem;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(183, 28, 28, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #b71c1c;
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #b71c1c;
    border-radius: 50%;
    z-index: 1;
}

.timeline-content {
    background: var(--darker-bg);
    padding: 2rem;
    border-radius: 15px;
    position: relative;
    width: calc(50% - 30px);
    margin-left: auto;
    box-shadow: 0 5px 15px rgba(183, 28, 28, 0.2);
    border: 1px solid rgba(183, 28, 28, 0.1);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: auto;
}

.timeline-header {
    margin-bottom: 1rem;
}

.timeline-header h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.timeline-header .company {
    color: #d32f2f;
    font-weight: 500;
    display: block;
    margin-bottom: 0.3rem;
}

.timeline-header .date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.timeline-details {
    list-style: none;
    margin-bottom: 1.5rem;
}

.timeline-details li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    position: relative;
    padding-left: 1.5rem;
}

.timeline-details li::before {
    content: '•';
    color: #b71c1c;
    position: absolute;
    left: 0;
}

.timeline-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.timeline-tech span {
    background: rgba(183, 28, 28, 0.1);
    color: #d32f2f;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(183, 28, 28, 0.2);
}

.timeline-tech span:hover {
    background: #b71c1c;
    color: var(--text-color);
    border-color: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(183, 28, 28, 0.2);
}

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: #d32f2f;
}

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

.footer-section h3 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #b71c1c;
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #d32f2f;
}

.footer-section ul li i {
    color: #b71c1c;
    margin-right: 0.5rem;
}

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

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

.social-icons a:hover {
    background: #b71c1c;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 2rem;
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }

    .hero-text h2 {
        font-size: 2rem;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 2fr;
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .experience-badge {
        right: 50%;
        transform: translateX(50%);
    }

    .timeline-content {
        width: calc(100% - 30px);
        margin-left: 30px;
    }

    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 30px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-dot {
        left: 15px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info {
        text-align: center;
    }

    .contact-item {
        justify-content: center;
    }

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

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--darker-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        margin: 1rem 0;
        font-size: 1.2rem;
    }

    .menu-btn {
        display: block;
        z-index: 1001;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text h2 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .social-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

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

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .hero-buttons .btn,
    .about-buttons .btn {
        min-width: 100px;
    }

    .contact-form .btn {
        width: 100%;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-text h3 {
        font-size: 1.8rem;
    }

    .expertise-list li {
        font-size: 0.9rem;
    }

    .social-cards {
        grid-template-columns: 1fr;
    }

    .social-card {
        max-width: 250px;
        margin: 0 auto;
    }

    .project-card {
        max-width: 300px;
        margin: 0 auto;
    }

    .timeline-header h3 {
        font-size: 1.3rem;
    }

    .timeline-details li {
        font-size: 0.9rem;
    }

    .contact-item h3 {
        font-size: 1.3rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
    }

    .hero-buttons,
    .about-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .hero-buttons .btn,
    .about-buttons .btn {
        width: 100%;
        min-width: unset;
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 480px) {
    .hero {
        padding: 4rem 1rem;
    }

    .about,
    .services,
    .projects,
    .experience,
    .contact {
        padding: 4rem 1rem;
    }

    .hero-image img {
        max-width: 280px;
    }

    .about-image img {
        max-width: 280px;
    }

    .experience-badge {
        width: 100px;
        height: 100px;
    }

    .experience-badge .years {
        font-size: 1.8rem;
    }

    .experience-badge .text {
        font-size: 0.7rem;
    }

    .project-tech span {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }

    .footer {
        padding: 3rem 1rem 1rem;
    }

    .footer-logo h2 {
        font-size: 2rem;
    }
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
}

/* Print styles */
@media print {
    .header,
    .hero-buttons,
    .social-links-section,
    .contact-form,
    .footer {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    .section-title {
        color: black;
    }

    .project-card,
    .service-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* Projects Section */
.projects {
    padding: 6rem 2rem;
    background: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(183, 28, 28, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    position: relative;
    background: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(183, 28, 28, 0.1);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(183, 28, 28, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(183, 28, 28, 0.2);
    border-color: rgba(183, 28, 28, 0.3);
}

.project-card:hover::before {
    transform: translateX(100%);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.project-overlay {
    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.8));
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 1rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.project-card:hover .project-links {
    transform: translateY(0);
}

.project-link,
.project-github {
    width: 35px;
    height: 35px;
    border-radius: 6px;
    background: rgba(183, 28, 28, 0.9);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.project-link:hover,
.project-github:hover {
    background: var(--text-color);
    color: #b71c1c;
    transform: scale(1.1) rotate(360deg);
}

.project-content {
    padding: 1.5rem;
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0.8), rgba(20, 20, 20, 0.9));
    backdrop-filter: blur(10px);
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    position: relative;
    display: inline-block;
}

.project-content h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #b71c1c, #d32f2f);
    transition: width 0.3s ease;
}

.project-card:hover .project-content h3::after {
    width: 100%;
}

.project-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.project-tech {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.project-tech span {
    background: rgba(183, 28, 28, 0.1);
    color: #d32f2f;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(183, 28, 28, 0.2);
}

.project-tech span:hover {
    background: #b71c1c;
    color: var(--text-color);
    border-color: #b71c1c;
}

/* Project Card Animation */
@keyframes projectCardIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card {
    animation: projectCardIn 0.6s ease forwards;
    opacity: 0;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }

/* Responsive Design for Projects */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Button Styles */
.btn {
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
}

.primary-btn {
    background: linear-gradient(45deg, #b71c1c, #d32f2f);
    color: #ffffff;
    border: none;
}

.secondary-btn {
    background: transparent;
    border: 1px solid #b71c1c;
    color: #ffffff;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(183, 28, 28, 0.2);
}

.primary-btn:hover {
    background: linear-gradient(45deg, #d32f2f, #b71c1c);
}

.secondary-btn:hover {
    background: rgba(183, 28, 28, 0.1);
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-buttons .btn {
    min-width: 120px;
}

/* About Buttons */
.about-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.about-buttons .btn {
    min-width: 110px;
}

/* Contact Form Button */
.contact-form .btn {
    width: auto;
    min-width: 100px;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Project Links */
.project-link,
.project-github {
    width: 35px;
    height: 35px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-link:hover,
.project-github:hover {
    transform: translateY(-3px);
    background: var(--text-color);
    color: var(--primary-color);
}

/* Responsive Button Adjustments */
@media (max-width: 768px) {
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .hero-buttons .btn,
    .about-buttons .btn {
        min-width: 100px;
    }

    .contact-form .btn {
        width: 100%;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 576px) {
    .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .hero-buttons,
    .about-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .hero-buttons .btn,
    .about-buttons .btn {
        width: 100%;
        min-width: unset;
    }
}

/* Icon Colors */
.tech-icon.angular { color: #dd0031 !important; }
.tech-icon.figma { color: #f24e1e !important; }
.tech-icon.html5 { color: #e34f26 !important; }
.tech-icon.css3 { color: #264de4 !important; }
.tech-icon.js { color: #f7df1e !important; }
.tech-icon.github { color: #333333 !important; }
.tech-icon.database { color: #00758f !important; }

/* Service Card Gradients */
.service-card.web-dev .service-icon {
    background: linear-gradient(45deg, #b71c1c, #d32f2f);
}

.service-card.ui-design .service-icon {
    background: linear-gradient(45deg, #880e4f, #c2185b);
}

.service-card.mobile-dev .service-icon {
    background: linear-gradient(45deg, #b71c1c, #e53935);
}

.service-card.backend-dev .service-icon {
    background: linear-gradient(45deg, #880e4f, #d81b60);
}

/* Update hover effects */
.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(183, 28, 28, 0.2);
    border-color: rgba(183, 28, 28, 0.3);
}

.service-card.web-dev:hover {
    box-shadow: 0 20px 40px rgba(183, 28, 28, 0.3);
}

.service-card.ui-design:hover {
    box-shadow: 0 20px 40px rgba(136, 14, 79, 0.3);
}

.service-card.mobile-dev:hover {
    box-shadow: 0 20px 40px rgba(183, 28, 28, 0.3);
}

.service-card.backend-dev:hover {
    box-shadow: 0 20px 40px rgba(136, 14, 79, 0.3);
}

/* Update tech tags */
.service-tech li {
    background: rgba(183, 28, 28, 0.1);
    color: #d32f2f;
    border: 1px solid rgba(183, 28, 28, 0.2);
}

.service-tech li:hover {
    background: #b71c1c;
    color: var(--text-color);
    border-color: #b71c1c;
    box-shadow: 0 5px 15px rgba(183, 28, 28, 0.2);
}

/* Update button styles */
.primary-btn {
    background: linear-gradient(45deg, #b71c1c, #d32f2f);
    color: #ffffff;
    border: none;
}

.secondary-btn {
    background: transparent;
    border: 1px solid #b71c1c;
    color: #ffffff;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(183, 28, 28, 0.2);
}

.primary-btn:hover {
    background: linear-gradient(45deg, #d32f2f, #b71c1c);
}

.secondary-btn:hover {
    background: rgba(183, 28, 28, 0.1);
}

/* Update section backgrounds */
.services::before {
    background: radial-gradient(circle at center, rgba(183, 28, 28, 0.1) 0%, transparent 70%);
}

.about::before {
    background: radial-gradient(circle at center, rgba(183, 28, 28, 0.1) 0%, transparent 70%);
}

.projects::before {
    background: radial-gradient(circle at center, rgba(183, 28, 28, 0.1) 0%, transparent 70%);
}

/* Update service card hover effects */
.service-card::before {
    background: linear-gradient(45deg, transparent, rgba(183, 28, 28, 0.1), transparent);
}

.service-card:hover::before {
    transform: translateX(100%);
}

/* Update icon animations */
.service-icon::after {
    border: 2px solid rgba(183, 28, 28, 0.3);
}

.service-card:hover .service-icon::after {
    border-color: rgba(183, 28, 28, 0.5);
}

/* Update heading gradients */
.hero-text h1 {
    background: linear-gradient(45deg, #ffffff, #d32f2f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text h3 {
    background: linear-gradient(45deg, #b71c1c, #d32f2f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Update timeline colors */
.timeline::before {
    background: #b71c1c;
}

.timeline-dot {
    background: #b71c1c;
}

.timeline-header .company {
    color: #d32f2f;
}

.timeline-details li::before {
    color: #b71c1c;
}

/* Update contact form focus states */
.form-group input:focus,
.form-group textarea:focus {
    border-color: #b71c1c;
    box-shadow: 0 0 0 2px rgba(183, 28, 28, 0.2);
}

/* Update social card hover effects */
.social-card:hover {
    box-shadow: 0 10px 20px rgba(183, 28, 28, 0.2);
} 