/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none;  /* Safari */
    -ms-user-select: none;      /* IE 10 and IE 11 */
    user-select: none;          /* Standard syntax */
}

/* Only allow text selection for specific elements */
.project-info p,
.testimonial-text,
.contact-form input,
.contact-form textarea {
    -webkit-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Add cursor styles */
.nav-links a,
.primary-btn,
.social-links a,
.project-card .project-overlay a {
    cursor: pointer;
}

:root {
    --primary-color: #ffffff;
    --secondary-color: #FFD700;
    --accent-color: #FFD700;
    --text-color: #ffffff;
    --light-text: #a0a0a0;
    --background: #0a0a0a;
    --section-bg: #111111;
    --card-bg: #1a1a1a;
    --transition: all 0.3s ease;
    --container-width: 1400px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--background);
    background-image: none;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: var(--container-width);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(142, 142, 142, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-radius: 100px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--background);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.logo-dev {
    font-weight: 500;
    font-size: 1.2rem;
    color: var(--accent-color);
    letter-spacing: -0.5px;
}

.logo-name {
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-dot {
    color: var(--accent-color);
    font-size: 2rem;
    line-height: 1;
    margin-left: -0.2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--background);
    font-weight: 500;
    transition: var(--transition);
    font-size: 1.1rem;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.burger {
    display: none;
    cursor: pointer;
    z-index: 1002;
    padding: 5px;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--background);
    margin: 5px;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Add button styles */
.primary-btn {
    background-color: var(--accent-color);
    color: var(--background);
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
}

.primary-btn:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.nav-cta .primary-btn {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--background);
    background-color: var(--accent-color);
}

.nav-cta .primary-btn:hover {
    background-color: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Hero Section */
.hero {
    padding-top: 150px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 5% 0;
}

.hero-content {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    justify-content: center;
}

.intro {
    max-width: 600px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 700;
}

.professional-titles {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: var(--accent-color);
}

.professional-titles .dot {
    color: var(--light-text);
}

.hero-description {
    font-size: 1.5rem;
    color: var(--light-text);
    margin-bottom: 3rem;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.stat {
    text-align: left;
}

.stat h3 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 1rem;
    color: var(--light-text);
    line-height: 1.4;
}

.hero-image {
    width: 300px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 4px solid var(--accent-color);
    transition: all 0.5s ease;
    background: #1a1a1a;
    padding: 30px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.7s ease;
}

.hero-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.3);
}

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

/* Tools Section */
.tools {
    padding: 8rem 5%;
    background: var(--section-bg);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.tool-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.tool-card:hover {
    transform: translateY(-10px);
}

.tool-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.tool-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

/* Projects Section */
.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.projects {
    padding: 8rem 5%;
    background: var(--section-bg);
}

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

.project-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.project-image {
    position: relative;
    height: 250px;
    width: 100%;
    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: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

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

.project-info {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--card-bg);
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.project-info p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
}

.project-technologies span {
    background: var(--background);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
    margin-bottom: 2rem;
}

.hero-image {
    width: 400px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

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

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

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

/* Update responsive styles */
@media screen and (max-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-image {
        margin: 0 auto;
        width: 300px;
        height: 300px;
    }
}

/* Footer Styles */
.footer {
    padding: 3rem 0;
    background-color: var(--section-bg);
    margin-top: 4rem;
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--light-text);
    font-size: 0.9rem;
}

.location {
    font-weight: 500;
}

.copyright {
    opacity: 0.8;
}

@media screen and (max-width: 768px) {
    .footer {
        padding: 2rem 0;
    }
    
    .social-links {
        gap: 1.5rem;
    }
    
    .social-links a {
        font-size: 1.25rem;
    }
}

@media screen and (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .project-image {
        height: 200px;
    }

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

/* Experience Section */
.experience {
    padding: 8rem 5%;
    background: var(--section-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
    margin-top: 4rem;
}

.testimonial-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: none;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: linear-gradient(145deg, var(--section-bg), rgba(255, 215, 0, 0.1));
}

.testimonial-card:hover .testimonial-text {
    color: var(--primary-color);
}

.testimonial-card:hover .quote-icon {
    color: var(--accent-color);
    transform: scale(1.3) rotate(360deg);
}

.quote-icon-wrapper {
    width: 40px;
    height: 40px;
    margin-bottom: 1.5rem;
    position: relative;
}

.quote-icon {
    color: var(--accent-color);
    font-size: 2rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.testimonial-card:hover .quote-icon {
    transform: scale(1.1);
}

/* Remove the float animation keyframes */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Remove all animation keyframes and animation properties */
@keyframes fadeInQuote {
    0% {
        opacity: 0;
        transform: translateY(-10px) rotate(-45deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(0);
    }
}

/* Remove animation delays */
.testimonial-card:nth-child(1) .quote-icon { animation-delay: 0s; }
.testimonial-card:nth-child(2) .quote-icon { animation-delay: 0s; }
.testimonial-card:nth-child(3) .quote-icon { animation-delay: 0s; }

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-style: italic;
    transition: color 0.3s ease;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.author-info h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.author-info p {
    color: var(--light-text);
    font-size: 0.9rem;
}

.rating {
    color: var(--accent-color);
    font-size: 1rem;
}

/* Contact Section */
.contact {
    padding: 8rem 5%;
    background: var(--background);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-header p {
    color: var(--light-text);
    font-size: 1.2rem;
}

.contact-header .primary-btn {
    display: inline-block;
    margin-top: 2rem;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.contact-header .primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: var(--background);
    border: 1px solid var(--card-bg);
    border-radius: 10px;
    color: var(--text-color);
    font-size: 1rem;
    transition: var(--transition);
}

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

.form-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
}

.form-group textarea + i {
    top: 1.5rem;
    transform: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    outline: none;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--accent-color);
    color: var(--background);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.submit-btn:hover {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.submit-btn i {
    font-size: 1.2rem;
}

/* Responsive Design for Contact Form */
@media screen and (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .contact-header h2 {
        font-size: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}

/* Add animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.testimonial-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

.rating i {
    animation: pulse 2s infinite;
}

@media screen and (max-width: 768px) {
    .professional-titles {
        justify-content: center;
        flex-wrap: wrap;
        text-align: center;
        gap: 0.5rem;
        font-size: 1.2rem;
    }
    
    .professional-titles .dot {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .nav-logo {
        font-size: 1.3rem;
    }
    
    .logo-dev {
        font-size: 1rem;
    }
    
    .logo-dot {
        font-size: 1.6rem;
    }
}

/* Responsive Design */

/* Large Screens (Laptops & Desktops) */
@media screen and (min-width: 1200px) {
    .container {
        max-width: var(--container-width);
    }
    
    .hero h1 {
        font-size: 4.5rem;
    }
    
    .hero-image {
        width: 400px;
        height: 400px;
    }
}

/* Medium Screens (Tablets & Small Laptops) */
@media screen and (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero-image {
        width: 350px;
        height: 350px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small Screens (Tablets) */
@media screen and (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .professional-titles {
        justify-content: center;
    }
    
    .stats-container {
        justify-content: center;
    }
    
    .hero-image {
        margin: 0 auto;
        width: 300px;
        height: 300px;
    }
    
    .nav-links {
        gap: 2rem;
    }
}

/* Mobile Screens */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(142, 142, 142, 0.98);
        backdrop-filter: blur(10px);
        padding: 2rem;
        text-align: center;
        border-radius: 0 0 20px 20px;
        opacity: 0;
        z-index: 1000;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        animation: slideIn 0.5s ease forwards;
    }

    .nav-links li {
        opacity: 0;
    }

    .nav-links.active li {
        animation: navLinkFade 0.5s ease forwards;
    }

    /* Delay each nav item animation */
    .nav-links.active li:nth-child(1) { animation-delay: 0.2s; }
    .nav-links.active li:nth-child(2) { animation-delay: 0.3s; }
    .nav-links.active li:nth-child(3) { animation-delay: 0.4s; }
    .nav-links.active li:nth-child(4) { animation-delay: 0.5s; }
    .nav-links.active li:nth-child(5) { animation-delay: 0.6s; }

    .burger {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .professional-titles {
        font-size: 1.2rem;
        flex-wrap: wrap;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .projects-grid,
    .tools-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .project-card {
        margin: 0 auto;
        max-width: 400px;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
        padding: 0 1rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .stat {
        text-align: center;
    }
}

/* Extra Small Screens */
@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-image {
        width: 250px;
        height: 250px;
    }
    
    .nav-logo {
        font-size: 1.2rem;
    }
    
    .primary-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .project-technologies span {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
    
    .contact-header h2 {
        font-size: 1.8rem;
    }
}

/* Mobile Navigation Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-100%);
    }
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hamburger Animation */
.burger {
    display: none;
    cursor: pointer;
    z-index: 1002;
    padding: 5px;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--background);
    margin: 5px;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger Animation Classes */
.burger.active .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
    background-color: var(--accent-color);
}

.burger.active .line2 {
    opacity: 0;
    transform: translateX(-10px);
}

.burger.active .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
    background-color: var(--accent-color);
}

@media screen and (max-width: 768px) {
    .burger {
        display: block;
        z-index: 1001;
    }
} 