/* ==========================
   GENERAL RESET & BASE STYLES
========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #fff;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
}

/* ==========================
   CONTAINER
========================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================
   HEADER / NAVBAR
========================== */
.header {
    position: fixed;
    width: 100%;
    background: rgba(30, 60, 114, 0.95);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
}

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

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background: #ffd700;
    left: 0;
    bottom: -4px;
    transition: 0.3s ease;
}

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

/* ==========================
   HERO SECTION
========================== */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    position: relative;
    padding-top: 5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 500px;
}

.hero-buttons a {
    display: inline-block;
    margin-right: 1rem;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #ff7eb9, #ff758c);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255,118,140,0.5);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.3);
}

.hero-cards {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-card {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    padding: 0.8rem 1rem;
    border-radius: 12px;
    flex: 1;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
}

.hero-card i {
    font-size: 1.8rem;
    margin-right: 1rem;
}

.profile-photo {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
}

/* Scroll Down */
.scroll-down {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    font-weight: 500;
    color: #ffd700;
    text-decoration: none;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0);}
    50% { transform: translateY(10px);}
}

/* ==========================
   SECTIONS TITLES
========================== */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #fff;
}

.section-title p {
    color: #e0e0e0;
    font-size: 1rem;
}

/* ==========================
   ABOUT SECTION
========================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
    margin-top: 2rem;
}

.about-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.stat-item {
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 12px;
    flex: 1 1 45%;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ffd700;
}

/* Approach Cards */
.approach-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.approach-card {
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.approach-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
}

.approach-card i {
    font-size: 2rem;
    color: #ff7eb9;
}

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

.project-card {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.project-photo {
    width: 100%;
    object-fit: cover;
}

.project-content {
    padding: 1rem;
}

.project-content h4 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    color: #ffd700;
}

.project-content h5 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.project-links a {
    text-decoration: none;
    margin-right: 0.5rem;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s ease;
}

.project-links a.btn-demo {
    background: #ff7eb9;
    padding: 0.5rem 1rem;
    border-radius: 10px;
}

.project-links a:hover {
    transform: translateY(-3px);
}

/* ==========================
   SKILLS SECTION
========================== */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.skill-bar {
    margin-bottom: 1rem;
}

.skill-bar span {
    display: block;
    margin-bottom: 0.3rem;
}

.skill-level {
    height: 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.2);
    position: relative;
}

.skill-level span {
    position: absolute;
    right: 10px;
    font-size: 0.8rem;
    top: -2px;
}

.skills-core .core-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.core-tags li {
    background: #ff758c;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* ==========================
   CERTIFICATES
========================== */
.certificate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.certificate-card {
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.certificate-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
}

.certificate-photo {
    width: 80px;
    margin-bottom: 0.5rem;
}

/* ==========================
   CONTACT
========================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
}

.contact-card i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* ==========================
   FOOTER
========================== */
.footer {
    text-align: center;
    padding: 2rem 0;
    background: rgba(30, 60, 114, 0.95);
}

/* ==========================
   RESPONSIVE
========================== */
@media (max-width: 1024px) {
    .hero-grid, .about-grid, .skills-grid {
        grid-template-columns: 1fr;
    }
}
