/* ==================== Global Styles ==================== */
:root {
  --primary: #0ea5e9;
  --secondary: #7e22ce;
  --dark: #0f172a;
  --darker: #020617;
  --light: #e2e8f0;
  --muted: #94a3b8;
}

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

body {
  font-family: "Inter", sans-serif;
  background-color: var(--dark);
  color: var(--light);
  scroll-behavior: smooth;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.gradient-text {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.divider {
  width: 80px;
  height: 3px;
  margin: 10px auto 40px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #fff;
}

.btn-primary:hover {
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* ==================== Navigation ==================== */

#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(6px);
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  position: relative;
  display: inline-block;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.25s ease;
  color: #f9fafb;
  text-decoration: none;
  transform-origin: center;
  z-index: 1;
}

.nav-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: linear-gradient(45deg, #60a5fa, #34d399);
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.3s ease;
  z-index: -1;
}

.nav-link:hover::before {
  opacity: 0.25;
  transform: scale(1.05);
}

.nav-link:hover {
  color: #a5f3fc;
  text-shadow: 0 0 12px rgba(59, 130, 246, 0.8);
  transform: scale(1.18);
}


.nav-link.active {
  color: #34d399;
  transform: scale(1.12);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--light);
  font-size: 1.6rem;
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--darker);
    flex-direction: column;
    align-items: center;
    display: none;
  }

  .nav-links.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

/* ==================== Hero Section ==================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
}

.hero-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 40px;
}

.hero-image {
  flex: 1 1 350px;
  text-align: center;
  margin-right: 40px;
}

.image-wrapper {
  position: relative;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.glow-layer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
  opacity: 0.3;
  animation: glowPulse 4s infinite alternate ease-in-out;
}

.layer1 {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.4), transparent 70%);
}

.layer2 {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.3), transparent 70%);
  animation-delay: 1s;
}

.layer3 {
  background: radial-gradient(circle,
      rgba(147, 51, 234, 0.25),
      transparent 70%);
  animation-delay: 2s;
}

.border-ring {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  border: 3px solid #3b82f6;
  overflow: hidden;
  z-index: 2;
  position: relative;
}

.border-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;

  object-position: 50% 18%;

  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.border-ring:hover img {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

@keyframes glowPulse {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }

  100% {
    transform: scale(1.1);
    opacity: 0.5;
  }
}

/* ==================== Hero Text ==================== */
.hero-text {
  flex: 1 1 500px;
  text-align: left;
  margin-left: 40px;
}

.hero-text h1 {
  font-size: 4.8rem;
  font-weight: 700;
  margin-top: -20px;
}

.hero-text h2 {
  font-size: 3rem;
  margin-top: 10px;
}

.hero-text p {
  color: #94a3b8;
  margin-top: 15px;
  margin-bottom: 20px;
  line-height: 1.6;
  max-width: 520px;
  font-size: 1.2rem;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}

.social-icon {
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #1e293b;
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

@media (max-width: 900px) {
  .hero-container {
    flex-direction: column;
    padding: 0;
    text-align: center;
  }

  .hero-text {
    margin: 30px 0 0 0;
    text-align: center;
  }

  .image-wrapper,
  .border-ring {
    width: 260px;
    height: 260px;
  }

  .hero-text h1 {
    font-size: 3.2rem;
  }

  .hero-text h2 {
    font-size: 2rem;
  }
}

/* ==================== About Section ==================== */

.about-section {
  padding: 100px 0;
  background-color: var(--darker);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-top: -50px;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.about-image img {
  width: 280px;
  height: 280px;
  border-radius: 15px;
  object-fit: cover;
  object-position: center;
  border: 1.5px solid #1e293b;
  transition: all 0.3s ease;
}

.about-image:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.25);
  transition: all 0.3s ease;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.about-text p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 25px;
  text-align: justify;
}

.about-details {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 25px;
}

.info-box {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  padding: 0.6rem 0.5rem;
  padding-bottom: 10px;
  border: 1.5px solid #333;
  border-radius: 8px;
  background-color: #0f172a;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
  cursor: pointer;
}

.education-h4 {
  font-size: 1.5rem;
  padding-bottom: 5px;
}

.education-p {
  font-size: 1rem;
  padding-top: 5px;
}

.info-box i {
  font-size: 1.5rem;
  color: #007bff;
  margin-right: 1rem;
}

.info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border-color: #007bff;
}

/* ==================== Experience Timeline ==================== */

.experience {
  margin-top: 80px;
}

.timeline {
  position: relative;
  margin-top: 40px;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 7px;
  width: 2px;
  height: 100%;
  background: #334155;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-dot {
  position: absolute;
  left: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  z-index: 2;
  transition: background 0.3s ease;
}

.timeline-content {
  margin-left: 30px;
  background-color: #0f172a;
  border: 1.5px solid #333;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
  cursor: pointer;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border-color: #007bff;
}

.timeline-header {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-bottom: 8px;
}

.company-name {
  font-size: 1.3rem;
  padding-bottom: 10px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.role-duration {
  font-size: 0.95rem;
  color: #60a5fa;
  margin: 3px 0 0 0;
}

.timeline-content p {
  font-size: 1rem;
  margin: 0;
  color: #b0b0b0;
  line-height: 1.5;
}

/* ==================== Skills Section ==================== */
.skills-section {
  background-color: var(--darker);
  padding: 40px 0;
  text-align: center;
}

.section-title-myskills {
  font-size: 2.5rem;
}

.skills-flex-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: 30px;
  width: 100%;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 30px;
  margin-right: 40px;
}

.skill-card {
  background: #0f172a;
  border: 1.5px solid #1e293b;
  border-radius: 12px;
  padding: 10px;
  width: 100%;
  transition: all 0.3s ease;
  text-align: start;
}

.skill-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.25);
}

.skill-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.skill-card p {
  color: #b0b0b0;
  line-height: 1.6;
  font-size: 1rem;
}

.skills-image {
  height: 400px;
  border-radius: 15px;
  margin-left: 70px;
  margin-top: 50px;
  border: 1.5px solid #1e293b;
  transition: all 0.3s ease;
  object-fit: cover;
}

.skills-image:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.25);
  transition: all 0.3s ease;
}

@media (max-width: 1200px) {
  .skills-flex-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .skills-image {
    margin-left: 0;
    margin-top: 40px;
    height: 260px;
  }

  .skills-container {
    margin-right: 0;
  }
}

@media (max-width: 900px) {
  .skill-card {
    width: 90%;
  }
}

/* ==================== Tools & Technologies ==================== */
.tools-section {
  padding: 100px 0;
  background: var(--dark);
  text-align: center;
}

.tools-section h2 {
  font-size: 2.5rem;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 25px;
  margin-top: 50px;
}

.tool {
  background: #0f172a;
  border: 1.5px solid #1e293b;
  border-radius: 12px;
  padding: 25px 10px;
  text-align: center;
  transition: all 0.3s ease;
}

.tool i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.tool span {
  display: block;
  color: var(--light);
  font-size: 1rem;
}

.tool:hover {
  transform: scale(1.08);
  border-color: var(--secondary);
  box-shadow: 0 0 25px rgba(126, 34, 206, 0.25);
}

/* ==================== Projects Section ==================== */
.projects-section {
  padding: 100px 0;
  background: var(--darker);
  text-align: center;
}

.projects-section h2 {
  font-size: 2.5rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.project-card {
  background: #0f172a;
  border: 1.5px solid #1e293b;
  border-radius: 12px;
  padding: 25px;
  text-align: left;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.25);
}

.project-card h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

.project-card p {
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.project-card .btn {
  align-self: flex-start;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.skills-section,
.tools-section,
.projects-section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.visible {
  opacity: 1;
  transform: translateY(0);
  animation: fadeUp 0.6s ease-out forwards;
}

/* ==================== Contact Section ==================== */
.contact-section {
  padding: 100px 0;
  background: #0f1123;
  color: #fff;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
}

.contact-subtitle {
  text-align: center;
  margin-top: 10px;
  opacity: 0.7;
  margin-bottom: 50px;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: center;
}

.contact-left {
  flex: 1 1 350px;
}

.contact-left h3 {
  font-size: 1.7rem;
  margin-bottom: 25px;
}

.info-box {
  background: #0c1627;
  padding: 20px;
  display: flex;
  gap: 15px;
  align-items: center;
  border: 1px solid #1e293b;
  border-radius: 12px;
  margin-bottom: 18px;
}

.info-box.clickable {
  cursor: pointer;
  transition: all 0.3s ease;
}

.info-box.clickable:hover {
  border-color: #4f8aff;
  box-shadow: 0 0 15px rgba(79, 138, 255, 0.2);
}

.info-box .icon i {
  font-size: 1.4rem;
  color: #60a5fa;
}

.contact-link {
  display: flex;
  gap: 15px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  width: 100%;
}

.contact-link:hover {
  color: inherit;
}

.info-box h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.info-box p {
  margin: 0;
  color: #9ca3af;
}

.social-buttons {
  display: flex;
  gap: 15px;
  margin: 20px 0;
}

.social-btn {
  padding: 10px 18px;
  border-radius: 8px;
  background: #0f172a;
  border: 1px solid #1e293b;
  color: #60a5fa;
  text-decoration: none;
  transition: 0.3s;
}

.social-btn:hover {
  background: rgba(96, 165, 250, 0.1);
}

.resume-btn {
  margin-top: 20px;
  background: linear-gradient(90deg, #4f8aff, #a855f7);
  border: none;
  padding: 12px 22px;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  transition: 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.resume-btn:hover {
  opacity: 0.9;
}

.contact-right {
  flex: 1 1 450px;
  background: #0c1627;
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s ease;
}

.contact-right:hover {
  transform: translateY(-6px);
  border-color: #4f8aff;
  box-shadow: 0 0 20px rgba(79, 138, 255, 0.25);
}

.contact-right h3 {
  margin-bottom: 25px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row input {
  flex: 1;
}

.contact-form input,
.contact-form textarea {
  background: transparent;
  border: 1px solid #334155;
  padding: 12px 15px;
  border-radius: 8px;
  color: #fff;
  transition: all 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #4f8aff;
  box-shadow: 0 0 10px rgba(79, 138, 255, 0.35);
  outline: none;
}

.send-btn {
  margin-top: 10px;
  background: linear-gradient(90deg, #4f8aff, #a855f7);
  padding: 14px;
  border: none;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.send-btn:hover {
  opacity: 0.9;
}

/* ============ SUCCESS POPUP ============ */
.success-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.popup-box {
  background: #0f172a;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #334155;
  box-shadow: 0 0 20px rgba(79, 138, 255, 0.35);
}

.popup-box h3 {
  color: #4f8aff;
  margin-bottom: 10px;
}

.popup-box button {
  margin-top: 15px;
  padding: 10px 20px;
  background: #4f8aff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: white;
}

/* ============ BUTTON LOADER ============ */
.send-btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading .btn-text {
  display: none;
}

.loading .btn-loader {
  display: inline-block;
}

/* ============ INPUT ERROR ============ */
.input-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.35);
}

.resume-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  background: linear-gradient(90deg, #4f8aff, #a855f7);
  color: #fff;
  padding: 12px 22px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  font-size: 1rem;
  border: none;
  transition: 0.3s;
}

.resume-btn:hover {
  opacity: 0.9;
}

/* ==================== Footer ==================== */
.footer {
  background: var(--darker);
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid #1e293b;
}

/* ==================== Back to Top Button ==================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.4rem;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.back-to-top:hover {
  transform: translateY(-4px);
}


#successPopup {
  display: none;
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 280px;
  max-width: 90vw;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 24px rgba(0, 0, 0, .28);
  z-index: 9999;
  padding: 32px 28px 24px 28px;
  text-align: center;
}

.successPopup-msg {
  font-size: 1.25rem;
  color: #1b1b1b;
  margin-bottom: 28px;
  line-height: 1.4;
}

#closePopup {
  padding: 12px 36px;
  border: none;
  background: #3D5AFE;
  color: #fff;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(61, 90, 254, 0.2);
  transition: background 0.2s;
}

#closePopup:hover {
  background: #303f9f;
}



/* ==================== MOBILE FIXES (max-width: 576px) ==================== */
@media (max-width: 576px) {

  /* GLOBAL */
  .container {
    width: 92%;
  }

  section {
    padding: 60px 0 !important;
  }

  .section-title,
  .section-title-myskills,
  .about-text h3,
  .skills-heading h2,
  .projects-section h2,
  .contact-section h2,
  .contact-left h3,
  .contact-right h3 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .divider {
    margin: 10px auto 30px !important;
  }

  /* NAV */
  .nav-container {
    padding: 10px 4px;
  }

  .logo {
    font-size: 1.4rem;
    letter-spacing: 0;
  }

  .nav-links {
    gap: 18px;
  }

  /* HERO */
  .hero-container {
    flex-direction: column;
    padding: 0 12px;
    text-align: center;
  }

  .image-wrapper,
  .border-ring {
    width: 200px;
    height: 200px;
  }

  .border-ring img {
    object-position: 50% 25%;
  }

  .hero-text {
    margin: 20px 0 0 0;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.3rem;
  }

  .hero-text h2 {
    font-size: 1.45rem;
  }

  .hero-text p {
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .social-links {
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding-bottom: 60px;
  }

  /* ABOUT */
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-image img {
    width: 100%;
    height: auto;
  }

  .about-text {
    text-align: center;
  }

  .about-text p {
    text-align: center;
  }

  /* SKILLS */
  .skills-flex-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .skills-container {
    grid-template-columns: 1fr;
    margin: 0;
    width: 100%;
    gap: 18px;
    padding: 0 6px;
  }

  .skill-card {
    width: 100%;
    padding: 14px;
  }

  .skills-image {
    width: 100%;
    height: 220px;
    margin-top: 20px;
  }

  /* EXPERIENCE */
  .timeline-content {
    padding: 12px;
  }

  .company-name {
    font-size: 1.05rem;
  }

  .timeline-dot {
    left: -26px;
  }

  .timeline::before {
    left: 4px;
  }

  .timeline {
    padding-left: 20px;
  }

  /* PROJECTS */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 6px;
  }

  .project-card {
    width: 100%;
  }

  /* CONTACT */
  .contact-wrapper {
    flex-direction: column;
    gap: 20px;
    padding: 0 6px;
  }

  .contact-left,
  .contact-right {
    width: 100%;
  }

  .info-box {
    padding: 15px;
  }

  .info-box .icon i {
    font-size: 1.2rem;
  }

  .info-box h4 {
    font-size: 1rem;
  }

  .info-box p {
    font-size: 0.85rem;
  }

  .contact-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .form-row {
    flex-direction: column;
    gap: 12px;
  }

  .send-btn {
    width: 100%;
  }

  .social-buttons {
    flex-direction: column;
  }

  .social-btn {
    text-align: center;
  }

  /* BACK TO TOP */
  .back-to-top {
    right: 18px;
    bottom: 18px;
  }

  /* FOOTER */
  .footer {
    padding: 25px 0;
  }
}

/* TABLET (>=577px and <=768px) */
@media (min-width: 577px) and (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
    gap: 30px;
    padding: 0 15px;
  }

  .contact-left,
  .contact-right {
    width: 100%;
    max-width: 100%;
  }

  .info-box {
    padding: 18px;
  }

  .social-buttons {
    flex-wrap: wrap;
  }
}

/* EXTRA SMALL (<=360px) */
@media (max-width: 360px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text h2 {
    font-size: 1.25rem;
  }

  .image-wrapper,
  .border-ring {
    width: 170px;
    height: 170px;
  }
}