
:root {
    /* Color Scheme */
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --accent-color: #4cc9f0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --text-color: #333;
    --text-light: #6c757d;
    --bg-color: #ffffff;
    --card-bg: #f8f9fa;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    --line-height: 1.6;
    
    /* Borders */
    --border-radius: 8px;
    --border: 1px solid #e9ecef;
}

/* Dark theme variables */
[data-theme="dark"] {
    --primary-color: #4895ef;
    --secondary-color: #4361ee;
    --accent-color: #4cc9f0;
    --light-color: #121212;
    --dark-color: #f8f9fa;
    --text-color: #e9ecef;
    --text-light: #adb5bd;
    --bg-color: #1a1a1a;
    --card-bg: #252525;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    --border: 1px solid #343a40;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: var(--line-height);
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark-color);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    border-radius: 50px;
    background-color: var(--primary-color);
    color: white;
    border: 10px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: var(--spacing-md);
}

.divider {
    height: 4px;
    width: 80px;
    background: var(--primary-color);
    margin: 0 auto var(--spacing-md);
    border-radius: 2px;
}

/* Header Styles */
header {
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

nav ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

nav a {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem;
    border-radius: var(--border-radius);
}

nav a.active {
    color: var(--primary-color);
    font-weight: 600;
}

nav a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}

.theme-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Hero Section */
.hero {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1) 0%, rgba(76, 201, 240, 0.1) 100%);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
}

.hero-text {
    text-align: center;
    max-width: 700px;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.hero-image {
    display: flex;
    justify-content: center;
}

.profile-frame {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: var(--shadow);
    position: relative;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-photo:hover {
    transform: scale(1.05);
}

/* About Section */
.about {
    padding: var(--spacing-xl) 0;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.highlight-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: var(--border);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.highlight-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.highlight-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

/* Page Hero */
.page-hero {
    padding: var(--spacing-xl) 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1) 0%, rgba(76, 201, 240, 0.1) 100%);
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Qualifications */
.qualifications {
    padding: var(--spacing-xl) 0;
}

.resume-section {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.skills-section {
    margin-bottom: var(--spacing-xl);
}

.skill-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.skill-category {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    border: var(--border);
}

.skill-category h3 {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
    font-size: 1.4rem;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.skill-category li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
}

.interests-section {
    margin-top: var(--spacing-xl);
}

.interest-content {
    max-width: 900px;
    margin: 0 auto;
}

.interest-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.interest-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: var(--border);
}

.interest-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.interest-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.interest-card h3 {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-xs);
}

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

/* Portfolio Section */
.portfolio {
    padding: var(--spacing-xl) 0;
}

.project {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: var(--border);
}

.project-image {
    flex: 1;
}

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

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

.project-content {
    flex: 1;
    padding: var(--spacing-md);
}

.project-tag {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.project h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.project-details {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

.project-details div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.project-buttons {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

/* Footer */
footer {
    background-color: #212529;
    color: #adb5bd;
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    text-decoration: none;
}

.copyright {
    color: #adb5bd;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (min-width: 768px) {
    .hero-content {
        flex-direction: row;
        text-align: left;
        align-items: center;
    }
    
    .hero-text {
        text-align: left;
    }
    
    .project {
        flex-direction: row;
    }
    
    .project-alt {
        flex-direction: row-reverse;
    }
}

@media (max-width: 767px) {
    
    header .container {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .project-buttons {
        flex-direction: column;
    }

}

@media (max-width: 767px) {

    header {
        padding: 0.4rem 0;
    }
    
    header .container {
        display: grid;
        grid-template-areas:
            "logo theme"
            "nav nav";
        gap: 0.5rem;
    }
    
    .logo {
        grid-area: logo;
        font-size: 1.4rem;
        margin-right: 0;
        align-self: center;
    }
    
    nav {
        grid-area: nav;
    }
    
    nav ul {
        display: flex;
        gap: 0.3rem;
        padding: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 2px;
        margin: 0;
        flex-wrap: nowrap;
    }
    
    nav li {
        flex-shrink: 0;
    }
    
    nav a {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
        white-space: nowrap;
    }
    
    .theme-toggle {
        grid-area: theme;
        padding: 0.25rem 0.5rem;
        font-size: 0.8rem;
        justify-self: end;
        align-self: center;
        margin: 0;
    }
    
    .theme-toggle i {
        margin-right: 0.2rem;
        font-size: 0.8rem;
    }
    
}





