/* ========================================
   TABLE OF CONTENTS
   ========================================
   1. RESET & BASE STYLES
   2. NAVBAR
   3. HERO SECTION
   4. KARYA TERBAIKKU SECTION
   5. ABOUT ME SECTION
   6. PORTFOLIO SECTION
   7. SKILLS SECTION
   8. BLOG SECTION
   9. CONTACT SECTION
   10. FOOTER
   11. UTILITY CLASSES
   12. RESPONSIVE BREAKPOINTS
   ======================================== */

/* ========================================
   1. RESET & BASE STYLES
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #ffffff;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ========================================
   2. NAVBAR
   ======================================== */
.navbar {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 18px 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 20, 40, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 150, 255, 0.15);
  box-shadow: 0 0 25px rgba(0, 120, 255, 0.15);
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(10, 20, 40, 0.98);
  box-shadow: 0 0 25px rgba(0, 150, 255, 0.3);
  padding: 14px 60px;
}

.navbar:hover {
  box-shadow: 0 0 30px rgba(0, 180, 255, 0.2);
}

/* Logo */
.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  letter-spacing: 1px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo .second {
  background: linear-gradient(90deg, #00b4ff, #0070f3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Nav Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 45px;
  align-items: center;
  transition: all 0.4s ease;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: #dce7ff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #00b4ff, #0070f3);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: #00b4ff;
  text-shadow: 0 0 12px rgba(0, 180, 255, 0.6);
}

/* Menu Toggle (Mobile) */
.menu-toggle {
  width: 26px;
  height: 2px;
  background: #fff;
  position: relative;
  cursor: pointer;
  display: none;
  transition: 0.3s ease;
}

.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 2px;
  background: #fff;
  left: 0;
  transition: 0.3s ease;
}

.menu-toggle::before {
  top: -8px;
}

.menu-toggle::after {
  top: 8px;
}

.menu-toggle.active {
  background: transparent;
}

.menu-toggle.active::before {
  transform: rotate(45deg);
  top: 0;
}

.menu-toggle.active::after {
  transform: rotate(-45deg);
  top: 0;
}

/* ========================================
   3. HERO SECTION
   ======================================== */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  min-height: 92vh;
  padding: 0 10%;
  position: relative;
  overflow: hidden;
  background: 
    linear-gradient(rgba(10, 12, 21, 0.85), rgba(10, 12, 21, 0.9)), 
    url("../images/backgrounf-for-hero.png") center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(87,66,255,0.5), transparent 70%);
  top: -100px;
  right: -50px;
  filter: blur(120px);
  z-index: 0;
}

/* Hero Text */
.hero-text {
  position: relative;
  z-index: 2;
}

.hero-text .intro {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-block;
  position: relative;
  margin-bottom: 15px;
  background: linear-gradient(45deg, #ff6b8b, #ffb86c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInDown 1s ease-out;
}

.hero-text .intro::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 40%;
  height: 3px;
  background: linear-gradient(90deg, #ff6b8b, transparent);
  border-radius: 3px;
}

.hero-text h1 {
  font-size: 3.8rem;
  font-weight: 800;
  margin-bottom: 10px;
  background: linear-gradient(45deg, #00d2ff, #9c4fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text h2 {
  font-size: 1.6rem;
  color: #c2c8ff;
  margin-bottom: 20px;
}

.hero-text .desc {
  max-width: 480px;
  color: #b8bdde;
  margin-bottom: 35px;
  line-height: 1.6;
}

/* Hero Buttons */
.buttons {
  display: flex;
  gap: 15px;
}

.btn-primary {
  background: linear-gradient(45deg, #00d2ff, #9c4fff);
  padding: 12px 28px;
  border-radius: 50px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(156,79,255,0.4);
  transition: 0.3s;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
}

.btn-glass {
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 12px 28px;
  border-radius: 50px;
  color: #9ccaff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-glass:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}

/* Hero Image */
.hero-img {
  display: flex;
  justify-content: center;
  z-index: 2;
}

.profile-wrapper {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 
    0 0 40px rgba(0,210,255,0.5),
    0 0 70px rgba(156,79,255,0.4);
}

.profile-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   4. KARYA TERBAIKKU SECTION
   ======================================== */
.karya-section {
  background: #ffffff;
  color: #1a1a1a;
  text-align: center;
  padding: 80px 10%;
  transition: background 0.4s ease;
}

.karya-section h2 {
  font-size: 2.3rem;
  font-weight: 700;
  color: #0a0a0a;
  margin-bottom: 15px;
  letter-spacing: 0.8px;
}

.karya-section .underline {
  width: 90px;
  height: 3px;
  background: linear-gradient(90deg, #0070f3, #00b4ff);
  border-radius: 10px;
  margin: 0 auto 50px auto;
}

.karya-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 35px;
}

.karya-card {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 18px;
  width: 310px;
  padding: 30px 20px 25px 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-align: center;
}

.karya-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  background: #ffffff;
}

.karya-card p {
  color: #333333;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ========================================
   5. ABOUT ME SECTION
   ======================================== */
.about-me {
  background: radial-gradient(circle at top left, #f4f7ff 0%, #ffffff 60%);
  padding: 120px 60px;
  overflow: hidden;
  position: relative;
}

.about-me::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(80, 130, 255, 0.15), transparent 70%);
  top: -100px;
  right: -100px;
  filter: blur(60px);
  z-index: 0;
}

.about-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 80px;
}

/* About Photo */
.photo-frame {
  background: linear-gradient(145deg, #ffffff, #eaeef9);
  padding: 15px;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.photo-frame:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.about-photo img {
  width: 320px;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInLeft 1s ease forwards;
}

/* About Text */
.about-text {
  flex: 1 1 500px;
  max-width: 600px;
  color: #333;
  opacity: 0;
  transform: translateX(50px);
  animation: slideInRight 1s ease forwards;
  animation-delay: 0.3s;
}

.about-text h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #1f1f1f;
  margin-bottom: 20px;
}

.about-text h2 span {
  background: linear-gradient(90deg, #4f7cff, #7c4dff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-text .intro {
  font-size: 1.15rem;
  color: #4a4a4a;
  line-height: 1.9;
  margin-bottom: 15px;
}

.about-text .desc {
  font-size: 1.05rem;
  color: #5c5c5c;
  line-height: 1.8;
  margin-bottom: 30px;
}

.about-text .btn {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(90deg, #4f7cff, #7c4dff);
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 6px 20px rgba(79, 124, 255, 0.35);
  transition: all 0.3s ease;
}

.about-text .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(79, 124, 255, 0.45);
}

/* About Hero (Alternative) */
.about-hero {
  position: relative;
  background: url('../img/bg-about.jpg') no-repeat center/cover;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.about-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.about-hero-text {
  position: relative;
  z-index: 2;
}

.about-hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

/* About Additional Sections */
.about-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 50px;
}

.about-img img {
  width: 280px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.about-fun ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.about-fun li {
  font-size: 1.1rem;
  margin: 10px 0;
}

.about-cta {
  background: linear-gradient(135deg, #6c63ff, #a855f7);
  text-align: center;
  padding: 60px 20px;
  color: #fff;
  border-radius: 15px;
  margin: 80px 0;
}

.about-cta h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

/* ========================================
   6. PORTFOLIO SECTION
   ======================================== */
.portfolio {
  background: #f9fafb;
  padding: 100px 20px;
}

.portfolio h3 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 60px;
  color: #111827;
  position: relative;
}

.portfolio h3::after {
  content: "";
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #4facfe, #9333ea);
  display: block;
  margin: 15px auto 0;
  border-radius: 2px;
}

.portfolio-header {
  padding: 100px 20px 60px;
  text-align: center;
  background: linear-gradient(90deg, #4facfe, #9333ea);
  color: #fff;
}

.portfolio-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.portfolio-header p {
  font-size: 1.2rem;
  color: #f3f4f6;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
}

.portfolio-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-card:hover img {
  transform: scale(1.1);
}

.portfolio-card .content {
  padding: 20px 22px 30px;
}

.portfolio-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #111827;
  transition: color 0.3s ease;
}

.portfolio-card:hover h4 {
  color: #4facfe;
}

.portfolio-card p {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.6;
}

.portfolio-card a {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  background: linear-gradient(90deg, #4facfe, #9333ea);
  color: #fff;
  transition: 0.3s ease;
}

.portfolio-card a:hover {
  background: linear-gradient(90deg, #9333ea, #4facfe);
}

/* Portfolio Center Layout */
.portfolio-center {
  text-align: center;
  margin-top: 80px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.portfolio-center h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #222;
  position: relative;
}

.portfolio-center h3::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #6366f1, #06b6d4);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* See More Button */
.see-more {
  text-align: center;
  margin-top: 40px;
}

.see-more-btn {
  display: inline-block;
  background: #4f46e5;
  color: #fff;
  padding: 12px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.25);
}

.see-more-btn:hover {
  background: #4338ca;
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.35);
  transform: translateY(-2px);
}

/* ========================================
   7. SKILLS SECTION
   ======================================== */
.skills-section {
  background: #f4f8ff;
  padding: 100px 0;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.skills-section .container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto 60px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 35px;
}

.skill-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 40px 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.35s ease;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.3s;
}

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.skill-card .icon {
  font-size: 2.5rem;
  background: #e9f0ff;
  width: 70px;
  height: 70px;
  line-height: 70px;
  border-radius: 50%;
  margin: 0 auto 20px;
  color: #2b65f9;
}

.skill-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.skill-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.skill-card i {
  font-size: 2rem;
  color: #6c63ff;
  margin-bottom: 10px;
}

.about-skills {
  margin: 80px auto;
  text-align: center;
  max-width: 1200px;
  padding: 0 20px;
}

/* ========================================
   8. BLOG SECTION
   ======================================== */
.blog {
  padding: 80px 8%;
  background: #f9fafc;
  text-align: center;
}

.blog .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 50px;
  position: relative;
}

.blog .section-title::after {
  content: "";
  width: 70px;
  height: 4px;
  background: #2563eb;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

.blog .section-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 50px;
  font-size: 1rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  justify-items: center;
}

.blog-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  width: 100%;
  max-width: 360px;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.blog-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  filter: brightness(0.9);
  transition: 0.3s ease;
}

.blog-card:hover .blog-image {
  filter: brightness(1);
  transform: scale(1.05);
}

.blog-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 25px;
  text-align: left;
}

.blog-content h3,
.blog-content h4 {
  font-size: 1.3rem;
  color: #1f2937;
  margin-bottom: 10px;
}

.blog-content p {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 15px;
}

.blog-content a,
.read-more {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  display: inline-block;
  font-size: 0.95rem;
}

.blog-content a:hover,
.read-more:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.blog-info {
  padding: 20px;
}

.blog-info h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #0f172a;
}

.blog-info p {
  color: #475569;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

/* Blog Hero */
.blog-hero {
  background: linear-gradient(120deg, #1e3a8a, #2563eb);
  color: white;
  text-align: center;
  padding: 100px 20px;
  border-radius: 0 0 80px 80px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.blog-hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.blog-hero-content p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Blog Categories */
.blog-categories {
  text-align: center;
  padding: 80px 20px;
  background: #f8fafc;
}

.blog-categories h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 50px;
}

.categories-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.category {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 250px;
  padding: 30px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: #1e293b;
  transition: all 0.3s ease;
}

.category i {
  font-size: 2.5rem;
  color: #3b82f6;
  margin-bottom: 15px;
}

.category:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
  color: #1d4ed8;
}

.category h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.category p {
  font-size: 0.95rem;
  color: #475569;
}

.blog-list {
  background: white;
  padding: 80px 20px;
}

.blog-list h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2rem;
  color: #0f172a;
}

/* ========================================
   9. CONTACT SECTION
   ======================================== */
.contact-section {
  background: #f4f8ff;
  padding: 100px 0;
  font-family: 'Poppins', sans-serif;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 50px;
  align-items: start;
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

.contact-left h2,
.contact-right h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.contact-desc {
  color: #555;
  margin-bottom: 30px;
}

/* Contact Form */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #2b65f9;
  box-shadow: 0 0 6px rgba(43, 101, 249, 0.2);
  outline: none;
}

.btn-main {
  background: #2b65f9;
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-main:hover {
  background: #1e4cd8;
  transform: translateY(-2px);
}

/* Contact Info */
.contact-info {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  padding: 40px 45px;
  transition: all 0.4s ease;
  border: 1px solid rgba(255,255,255,0.6);
}

.contact-info:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 55px rgba(43,101,249,0.15);
}

.contact-info h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
  position: relative;
}

.contact-info h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background: #2b65f9;
  border-radius: 10px;
  margin-top: 8px;
}

.contact-info p {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.6;
}

.contact-info li {
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #444;
}

.contact-info i {
  color: #2b65f9;
  margin-right: 10px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #333;
  transition: all 0.3s ease;
}

.detail-item i {
  color: #2b65f9;
  font-size: 1.2rem;
  background: rgba(43,101,249,0.1);
  padding: 10px;
  border-radius: 12px;
  transition: 0.3s;
}

.detail-item:hover i {
  background: #2b65f9;
  color: #fff;
  transform: scale(1.1);
}

/* Social Icons */
.social-icons a {
  display: inline-block;
  font-size: 1.3rem;
  color: #2b65f9;
  margin-right: 15px;
  transition: 0.3s ease;
}

.social-icons a:hover {
  color: #1e4cd8;
  transform: translateY(-3px);
}

/* Map Contact Section */
.map-contact {
  position: relative;
  background: linear-gradient(135deg, #e7f0ff 0%, #ffffff 100%);
  padding: 120px 40px;
  overflow: hidden;
}

.map-contact::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: radial-gradient(circle at center, rgba(43,101,249,0.08) 0%, transparent 60%);
  z-index: 0;
  animation: pulse-bg 6s ease-in-out infinite alternate;
}

.map-contact .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.map-container {
  position: relative;
  height: 450px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  transition: all 0.4s ease;
}

.map-container:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 70px rgba(43,101,249,0.25);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: brightness(95%) contrast(1.05) saturate(1.2);
  transition: all 0.4s ease;
}

.map-container:hover iframe {
  filter: brightness(100%) contrast(1.1) saturate(1.3);
}

/* Contact CTA */
.contact-cta {
  background: linear-gradient(135deg, #2b65f9, #4c8fff);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
  margin-top: 100px;
  border-radius: 0;
}

.contact-cta h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.contact-cta p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.contact-cta .btn-main {
  background: #fff;
  color: #2b65f9;
}

.contact-cta .btn-main:hover {
  background: #f0f3ff;
  transform: scale(1.05);
}

.contact a:hover {
  background: #f3f4f6;
}

/* ========================================
   10. FOOTER
   ======================================== */
.footer {
  background: #111;
  color: #ddd;
  padding: 50px 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-section p,
.footer-section a,
.footer-section li {
  font-size: 14px;
  line-height: 1.8;
  color: #bbb;
}

.footer-section a:hover {
  color: #fff;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin: 5px 0;
}

.footer-extra {
  text-align: center;
  margin-bottom: 20px;
}

.footer-extra blockquote {
  font-style: italic;
  color: #ccc;
  margin-bottom: 10px;
}

.cta-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 25px;
  background: #f39c12;
  color: #111;
  font-weight: bold;
  border-radius: 5px;
  transition: 0.3s;
}

.cta-btn:hover {
  background: #fff;
  color: #111;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 15px;
  font-size: 13px;
  color: #aaa;
}

.footer-bottom a {
  color: #bbb;
  margin: 0 5px;
}

.footer-bottom a:hover {
  color: #fff;
}

footer {
  background: #111827;
  color: #9ca3af;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  margin-top: 40px;
}

/* ========================================
   11. UTILITY CLASSES
   ======================================== */
/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Card Component */
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  padding: 25px;
  text-align: left;
  transition: all 0.3s ease;
  border: 1px solid #f1f1f1;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 30px rgba(99,102,241,0.2);
  border-color: #6366f1;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 18px;
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.05);
}

.card .content {
  padding: 20px;
}

.card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #111;
}

.card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

.card::before {
  content: "⭐";
  position: absolute;
  top: 15px;
  right: 15px;
  background: #6366f1;
  color: white;
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: 20px;
}

.card-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(135deg, #6c63ff, #a18aff);
  color: #fff;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s;
  text-decoration: none;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* ========================================
   12. ANIMATIONS
   ======================================== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-bg {
  from { 
    transform: scale(1); 
    opacity: 0.8; 
  }
  to { 
    transform: scale(1.2); 
    opacity: 1; 
  }
}

/* ========================================
   13. RESPONSIVE BREAKPOINTS
   ======================================== */
@media (max-width: 900px) {
  /* Navbar */
  .navbar {
    padding: 15px 30px;
  }

  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    width: 240px;
    background: rgba(8, 14, 30, 0.98);
    border-left: 1px solid rgba(0, 150, 255, 0.1);
    border-bottom: 1px solid rgba(0, 150, 255, 0.1);
    padding: 25px 20px;
    display: none;
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.4s ease;
    box-shadow: -4px 10px 25px rgba(0, 120, 255, 0.15);
    border-radius: 0 0 0 12px;
  }

  .nav-links.show {
    display: flex;
    transform: translateY(0);
    opacity: 1;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links a {
    padding: 10px 0;
    font-size: 1.05rem;
  }

  /* About Section */
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .photo-frame {
    margin-bottom: 40px;
  }

  .about-text h2 {
    font-size: 2.2rem;
  }

  .about-text .intro,
  .about-text .desc {
    font-size: 1rem;
  }

  .btn {
    padding: 12px 28px;
  }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 5%;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .profile-wrapper {
    width: 280px;
    height: 280px;
    margin: 30px auto 0;
  }
}

@media (max-width: 768px) {
  /* Skills */
  .section-title {
    font-size: 2rem;
  }

  .skill-card {
    padding: 30px 20px;
  }

  /* Contact */
  .contact-section {
    padding: 70px 0;
  }

  .contact-container {
    gap: 40px;
  }

  .contact-info {
    padding: 30px;
  }

  .contact-info h2 {
    font-size: 1.7rem;
  }

  /* Map Contact */
  .map-contact {
    padding: 80px 20px;
  }

  /* Portfolio */
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}