/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background: #f9f9f9;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 700;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('assets/images/background.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-btn {
    background: #007bff;
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    transition: transform 0.3s;
}

.cta-btn:hover {
    transform: translateY(-5px);
}

/* Projects Section */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
}

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

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: center;
        padding: 1rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
}

/* In style.css */
:root {
    --primary-color: #2c3e50; /* Navy blue */
    --secondary-color: #3498db; /* Sky blue */
    --accent-color: #e74c3c; /* Red */
    --background-color: #ecf0f1; /* Light gray */
    --text-color: #2c3e50; /* Dark gray */
}
/* Navigation */
.navbar {
    background: var(--background-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-links a {
    color: var(--text-color);
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('assets/images/background.jpg') center/cover;
    color: white;
}

.cta-btn {
    background: var(--secondary-color);
    color: white;
    border: 2px solid var(--secondary-color);
    transition: background 0.3s;
}

.cta-btn:hover {
    background: white;
    color: var(--secondary-color);
}

/* Projects Section */
.project-card {
    background: white;
    border: 1px solid var(--background-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.project-card img {
    border-bottom: 3px solid var(--secondary-color);
}

/* Contact Section */
.contact {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

#contact-form input, #contact-form textarea {
    border: 1px solid var(--background-color);
    padding: 1rem;
    border-radius: 5px;
    margin: 0.5rem 0;
}

#contact-form button {
    background: var(--secondary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: transform 0.3s;
}

#contact-form button:hover {
    transform: translateY(-5px);
}
/* Gradient Backgrounds */
.project-tools {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.project-tools span {
    padding: 0.5rem 1rem;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Social Links (Add to Footer) */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: scale(2);
}

.copyright {
    color: var(--text-color);
    margin-top: 1rem;
    font-size: 1rem;
}

.footer {
    background: var(--background-color);
    padding: 5rem;
    text-align: var(rgb(35, 117, 199)) ;
    margin-top: 4rem;
}
/* Hover Effects */
.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

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

.cta-btn {
    position: relative;
    overflow: hidden;
}

.cta-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 50%, var(--accent-color) 50%);
    transform: rotate(45deg) translate(-50%, -50%);
    transition: opacity 0.3s;
}

.cta-btn:hover::after {
    opacity: 0.1;
}
/* In style.css */
.profile-pic {
    width: 200px;
    height: 200px;
    border-radius: 50%; /* For circular shape */
    object-fit: cover;
    margin: 2rem auto;
    border: 3px solid var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.project-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    transition: transform 0.3s;
}

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