:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --dark: #1e293b;
    --light: #f8fafc;
    --text-muted: #64748b;
    --white: #ffffff;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0; padding: 0; line-height: 1.6;
    color: var(--dark); background-color: var(--light);
}

/* Nav */
nav { background: var(--white); padding: 0.1rem 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.nav-container { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 2rem; }
.logo { font-size: 1.4rem; font-weight: 700; color: var(--dark); }
.logo span { color: var(--primary); }
nav ul { list-style: none; display: flex; gap: 2rem; margin: 0; }
nav a { text-decoration: none; color: var(--dark); font-weight: 500; transition: 0.3s; }
nav a:hover { color: var(--primary); }

/* Hero Section - Centered */
.hero { display: flex; align-items: center; justify-content: center; min-height: 80vh; background: var(--white); text-align: center; padding: 2rem; }
.profile-photo { width: 200px; height: 250px; border-radius: 30%; object-fit: cover; box-shadow: var(--shadow); border: 4px solid white; margin-bottom: 1.5rem; }
.subtitle { color: var(--primary); font-weight: 600; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; }
.description { max-width: 600px; margin: 1rem auto; color: var(--text-muted); }

/* Buttons */
.btn-primary, .btn-secondary { padding: 0.8rem 2.5rem; border-radius: 6px; text-decoration: none; font-weight: 600; display: inline-block; transition: 0.3s; margin: 10px; }
.btn-primary { background: var(--primary); color: white; }
.btn-secondary { border: 2px solid var(--primary); color: var(--primary); }
.btn-secondary:hover { background: var(--primary); color: white; }

/* About & Cards */
.about-container { max-width: 1000px; margin: 0rem auto; padding: 0 2rem; }
.content-wrapper { background: var(--white); padding: 1rem 3rem 3rem 3rem; border-radius: 12px; box-shadow: var(--shadow); }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 2rem; }
.info-card { background: var(--light); padding: 1.5rem; border-radius: 8px; }
.info-card h3 { color: var(--primary); font-size: 1rem; margin-top: 0; }

/* Skills Tags */
.skills-tag-container { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1rem; }
.skill-tag { background: var(--white); color: var(--primary); padding: 6px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; border: 1px solid #e2e8f0; }

/* Gallery */
.gallery-section { max-width: 1100px; margin: 4rem auto; padding: 0 2rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.gallery-card { background: white; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); transition: 0.3s; }
.gallery-card:hover { transform: translateY(-5px); }
.cert-img-container { height: 180px; background: #f1f5f9; }
.cert-img-container img { width: 100%; height: 100%; object-fit: contain; }
.cert-info { padding: 1rem; text-align: center; }

/* Experience Item */
.exp-item { display: flex; align-items: center; gap: 20px; margin-top: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid #f1f5f9; }
.mini-logo { width: 60px; height: 60px; object-fit: contain; }
.description{color: var(--dark);}

/* Footer */
footer { background: var(--dark); color: white; padding: 0.5rem; text-align: center; margin-top: 4rem; }
.social-links a { color: #cbd5e1; margin: 0 15px; text-decoration: none; font-size: 0.9rem; }
.social-links a:hover { color: white; }

/* Section Title Styling */
.section-title { text-align: center; margin-bottom: 2.5rem; }
.underline { width: 50px; height: 4px; background: var(--primary); margin: 8px auto; border-radius: 2px; }
/* Contact Section Styles */
.contact-section {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    background: #eef2ff;
    padding: 15px;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--dark);
}

.info-item p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Form Styling */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
}

.form-group input, 
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-family: inherit;
    transition: 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.contact-form .btn-primary {
    width: fit-content;
    margin: 0;
    cursor: pointer;
    border: none;
}

/* Responsive adjustment for contact */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
}