@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800;900&display=swap');

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

:root {
    --primary-color: #0F172A;
    --secondary-color: #1E293B;
    --accent-color: #C5A059;
    --bg-dark: #F4F4F4;
    --bg-darker: #ffffff;
    --bg-card: #ffffff;
    --text-primary: #0F172A;
    --text-secondary: #1E293B;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --gradient-1: #0F172A;
    --gradient-2: #0F172A;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 15px 40px rgba(15, 23, 42, 0.14);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(244, 244, 244, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(244, 244, 244, 0.98);
    box-shadow: 0 4px 20px rgba(26, 26, 24, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 800;
	display: flex;
    align-items: center;
    gap: 10px;
}

.profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.brand-name {
    color: #C5A059;
    -webkit-text-fill-color: #C5A059;
    background: none;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(15, 23, 42, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(197, 160, 89, 0.04) 0%, transparent 50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.greeting {
    font-size: 2rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.name {
    font-family: 'Playfair Display', serif;
    color: #0F172A;
    background: none;
    -webkit-text-fill-color: #0F172A;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-location {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-cta a.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 200px;
    padding: 1rem 2rem;
    text-align: center;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
	margin-top: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #0F172A;
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: #C5A059;
    border-color: #C5A059;
    color: #0F172A;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: #0F172A;
    border: 2px solid #0F172A;
}

.btn-secondary:hover {
    background: #C5A059;
    border-color: #C5A059;
    color: white;
    transform: translateY(-3px);
}

.social-links {
    display: flex;
    gap: 1.5rem;
	margin-top: 1rem;  
    justify-content: center;
    animation: fadeInUp 1s ease 0.5s both;
}

.social-links a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

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

/* Sections */
section {
    padding: 6rem 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    background: none;
    -webkit-text-fill-color: var(--primary-color);
}

/* About Section */
.about {
    background: var(--bg-darker);
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 1.5rem;
    line-height: 1.8;
}

/* Skills Section */
.skills {
    background: var(--bg-darker);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  justify-content: center;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.skill-category {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid #CBD5E1;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  min-height: 260px;
  width: 100%;
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-color);
}

.skill-category h3 { color: #C5A059; margin-bottom: 1rem; font-size: 1.3rem; }
.skill-category ul { list-style: none; width: 100%; text-align: center; }
.skill-category li { color: var(--text-secondary); padding: 0.5rem 0; border-bottom: 1px solid var(--border-color); }
.skill-category li:last-child { border-bottom: none; }

@media (max-width: 900px) {
  .skills-grid {
    grid-template-columns: repeat(2, minmax(250px, 1fr));
  }
}

@media (max-width: 600px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
}

/* Projects Section */
.projects {
    background: var(--bg-dark);
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 820px;
    margin: 0 auto;
}

.project-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 0 0 2rem 0;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--accent-color);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: #1A5C47;
    border-left-color: var(--accent-color);
}

.project-card h3 {
    background: var(--primary-color);
    color: #ffffff;
    margin: 0;
    padding: 1.25rem 2rem;
    font-size: 1.35rem;
    font-family: 'Playfair Display', serif;
}

.project-card p {
    color: var(--text-secondary);
    padding: 0 2rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.project-card p:first-of-type {
    margin-top: 1.75rem;
}

.project-card p:nth-of-type(2),
.project-card p:nth-of-type(3) {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: #f1f5f9;
    border-left: 3px solid #1A5C47;
    padding: 0.75rem 1rem;
    margin-left: 2rem;
    margin-right: 2rem;
    border-radius: 0 8px 8px 0;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0 2rem;
}

.project-tech span {
    background: rgba(15, 23, 42, 0.06);
    color: var(--primary-color);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(15, 23, 42, 0.12);
}

.project-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin: 0.5rem 2rem 0;
    padding: 0.6rem 1.2rem;
    background: rgba(197, 160, 89, 0.12);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateX(0);
}

/* Certifications Section */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  justify-items: center;
  align-items: start;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.cert-card {
  background: var(--bg-card);
  padding: 1.8rem 1.4rem;
  border-radius: 14px;
  border: 1px solid #C5A059;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s ease;
  min-height: 210px;
  width: 100%;
  max-width: 260px;
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary-color);
}

.cert-icon {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 0.6rem;
}

.cert-icon img {
  max-height: 60px;
  width: auto;
  display: block;
}

.cert-card h3 {
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.4rem;
}

.cert-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.3;
}

@media (max-width: 1000px) {
  .cert-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .cert-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact Section */
.contact {
    background: var(--bg-darker);
    text-align: center;
}

.contact-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.contact-btn {
    padding: 1rem 2rem;
    background: #0F172A;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.contact-methods a:nth-child(1):hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: #ffffff;
}

.contact-methods a:nth-child(2):hover {
    background: #1a7f37;
    border-color: #1a7f37;
    color: #ffffff;
}

.contact-methods a:nth-child(3):hover {
    background: #ff0000;
    border-color: #ff0000;
    color: #ffffff;
}

.contact .contact-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    height: 50px;
    text-align: center;
}

.contact p {
    margin-bottom: 3rem;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer p {
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-darker);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(26, 26, 24, 0.15);
        padding: 2rem 0;
    }
	
    .cert-card {
        min-height: 200px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
	
    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .greeting {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .projects-grid,
    .skills-grid,
    .cert-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

.heart {
    display: inline-block;
    animation: heartbeat 1.4s infinite ease-in-out;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.25); }
    30% { transform: scale(1); }
    45% { transform: scale(1.25); }
    60% { transform: scale(1); }
}

/* ===== Feedback Section ===== */

.feedback-window {
  overflow: hidden;
  width: 100%;
}

.feedback-track {
  display: flex;
  transition: transform 0.5s ease;
}

.feedback-page {
  min-width: 100%;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.feedback {
    background: #0F172A;
}

.feedback .section-title {
    color: #F0EDE6;
    -webkit-text-fill-color: #F0EDE6;
}

.feedback-card {
  width: calc((100% - 3rem) / 3);
  flex: 0 0 auto;

  background: var(--bg-card);
  border: 1px solid #1A5C47;
  border-radius: 14px;
  padding: 1.2rem;
  box-shadow: var(--shadow);

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feedback-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.8rem;
}

.feedback-card span {
  font-weight: 600;
  color: var(--primary-color);
}

.feedback-page:first-of-type .feedback-card {
  height: 220px;
  overflow: hidden;
}

.feedback-page:first-of-type .feedback-card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  overflow: hidden;
}

.feedback-page:last-of-type .feedback-card {
  height: auto;
  overflow: visible;
}

.feedback-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1rem;
}

.feedback-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #64748B;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.feedback-dot.active {
  background: #F0EDE6;
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .feedback-page {
    flex-direction: column;
    align-items: stretch;
  }
  .feedback-card {
    width: 100%;
  }
  .feedback-page:first-of-type .feedback-card {
    height: auto;
  }
  .feedback-page:first-of-type .feedback-card p {
    display: block;
    -webkit-line-clamp: initial;
    overflow: visible;
  }
}

/* Social link hover colors */
.social-links a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-links a:nth-child(1):hover {
    color: #0a66c2;
    transform: translateY(-3px);
}

.social-links a:nth-child(2):hover {
    color: #1a7f37;
    transform: translateY(-3px);
}

.social-links a:nth-child(3):hover {
    color: #ff0000;
    transform: translateY(-3px);
}
