
:root {
--primary-dark: #1a3a8f;
--primary-light: #4a6edd;
--light-gray: #f8f9fa;
--pure-white: #ffffff;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
background-color: var(--light-gray);
color: #333;
line-height: 1.6;
}

.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");
  
.container h1 {
font-family: "Rosca", "Inter", "SF Pro Display", "Segoe UI",
    -apple-system, BlinkMacSystemFont, sans-serif;
font-weight: 800;
font-style: bold;
letter-spacing: -0.02em;
line-height: 1.2;
background: linear-gradient(
    90deg,
    #1e40af 0%,
    #2563eb 15%,
    #3b82f6 30%,
    #60a5fa 45%,
    #6366f1 60%,
    #8b5cf6 75%,
    #4f46e5 90%,
    #3730a3 100%
);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
footer h1 {
font-family: "Rosca", "Inter", "SF Pro Display", "Segoe UI",
    -apple-system, BlinkMacSystemFont, sans-serif;
font-weight: 800;
font-style: bold;
letter-spacing: -0.02em;
line-height: 1.2;
background: linear-gradient(
    90deg,
    #f8f9fa 0%,
    #e5e7eb 15%,
    #d1d5db 30%,
    #bfc1c6 45%,
    #a3a3a3 60%,
    #6b7280 75%,
    #333333 90%,
    #000000 100%
);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Animations */
@keyframes fadeIn {
from {
    opacity: 0;
}
to {
    opacity: 1;
}
}

@keyframes slideIn {
from {
    transform: translateY(-20px);
    opacity: 0;
}
to {
    transform: translateY(0);
    opacity: 1;
}
}

/* Header */
header {
background-color: var(--pure-white);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
position: sticky;
top: 0;
z-index: 100;
}

nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1.5rem 0;
animation: slideIn 0.8s ease-out forwards;
}

.logo {
font-size: 1.5rem;
font-weight: 700;
color: var(--primary-dark);
}

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

.nav-links a {
text-decoration: none;
color: #333;
font-weight: 500;
transition: color 0.3s;
}

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

/* Hero Section */
.hero {
height: 90vh;
display: flex;
align-items: center;
text-align: center;
animation: fadeIn 1s ease-out forwards;
}

.hero-content h1 {
font-size: 3rem;
margin-bottom: 1rem;
color: var(--primary-dark);
}

.hero-content p {
font-size: 1.2rem;
max-width: 700px;
margin: 0 auto 2rem;
color: #555;
}

.btn {
display: inline-block;
padding: 12px 30px;
background-color: var(--primary-dark);
color: white;
border-radius: 50px;
text-decoration: none;
font-weight: 600;
transition: all 0.3s;
border: 2px solid var(--primary-dark);
}

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

.btn-outline {
background-color: transparent;
color: var(--primary-dark);
margin-left: 15px;
}

.btn-outline:hover {
background-color: var(--primary-dark);
color: white;
}

/* About Section */
.section {
padding: 6rem 0;
}

.section-title {
text-align: center;
margin-bottom: 3rem;
color: var(--primary-dark);
font-size: 2.2rem;
}

.about-content {
display: flex;
align-items: center;
gap: 4rem;
}

.about-text {
flex: 1;
}

.about-image {
flex: 1;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
transition: transform 0.5s;
}

.about-image:hover {
transform: scale(1.03);
}

.about-image img {
width: 100%;
height: auto;
display: block;
}

/* Skills Section */
.skills-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
margin-top: 3rem;
}

.skill-card {
background-color: white;
padding: 1.5rem;
border-radius: 8px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
transition: all 0.3s;
text-align: center;
}

.skill-card:hover {
transform: translateY(-10px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
transform: scale(1.09);
}

.skill-icon {
font-size: 2.5rem;
margin-bottom: 1rem;
color: var(--primary-light);
}

/* Projects Section */
.projects-container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 2rem;
margin-top: 3rem;
}

.project-card {
background-color: white;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
transition: all 0.3s;
}

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

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

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

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

.project-info {
padding: 1.5rem;
}

.project-info h3 {
margin-bottom: 0.5rem;
color: var(--primary-dark);
}

.project-tags {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
margin-bottom: 1rem;
}

.tag {
padding: 0.2rem 0.8rem;
background-color: var(--light-gray);
border-radius: 50px;
font-size: 0.8rem;
}

/* Contact Section */
.contact-form {
max-width: 600px;
margin: 0 auto;
background-color: white;
padding: 2rem;
border-radius: 8px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
margin-bottom: 1.5rem;
}

.form-group label {
display: block;
margin-bottom: 0.5rem;
font-weight: 500;
}

.form-group input,
.form-group textarea {
width: 100%;
padding: 0.8rem;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 1rem;
}

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

/* Footer */
footer {
background-color: var(--primary-dark);
color: white;
padding: 2rem 0;
text-align: center;
}

footer p {
font-size: 0.9rem;
margin-bottom: 1rem;
}

.social-links {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 1rem;
margin: 1.5rem 0;
}

.social-link {
display: flex;
align-items: center;
gap: 8px;
color: white;
font-size: 0.9rem;
font-weight: 500;
text-decoration: none;
padding: 8px 12px;
background-color: rgba(255, 255, 255, 0.1);
border-radius: 8px;
transition: all 0.3s ease;
border: 1px solid rgb(255, 255, 255);
}

.social-link:hover {
color: white;
background-color: rgba(255, 255, 255, 0.2);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-link svg {
width: 16px;
height: 16px;
stroke: currentColor;
fill: none;
}

/* Responsive */
@media (max-width: 768px) {
.hero-content h1 {
    font-size: 2.2rem;
}

.about-content {
    flex-direction: column;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
}

.hero-buttons .btn,
.hero-buttons .btn-outline {
    margin: 0;
    width: 100%;
    text-align: center;
    padding: 15px 30px;
    font-size: 1rem;
}
}

@media (max-width: 576px) {
.nav-links {
    display: none;
}

.hero {
    height: auto;
    padding: 4rem 0;
}

/* Footer responsive */
footer {
    padding: 2rem 0;
}

footer h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

footer p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.social-links {
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
    justify-content: center;
}

.social-link {
    font-size: 1.2rem;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-2px);
}

/* Contact form responsive */
.contact-form {
    padding: 1.5rem;
    margin: 0 10px;
}

.form-group input,
.form-group textarea {
    font-size: 16px; /* iOS zoom prevention */
}

}
    
/* Contact Section Styles */
#contact {
    padding: 48px 0;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    max-width: 600px;
    margin: 48px auto;
}

#contact h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1e40af;
    text-align: center;
}

#contact form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#contact input,
#contact textarea {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    font-size: 1rem;
}

#contact button {
    background: #1e40af;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

#contact button:hover {
    background: #1e3a8a;
}

.contact-note {
    text-align: center;
    margin-top: 16px;
    color: #64748b;
    font-size: 0.95rem;
}