/* CSS placeholder - insert style.css content *//* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #0a0a0a;
  color: #fff;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(5px);
  z-index: 1000;
}

.logo {
  font-size: 20px;
  font-weight: bold;
  color: #0ff;
}

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

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links li a.active,
.nav-links li a:hover {
  color: #0ff;
}

.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
}

/* Hero Section */
.hero {
  position: relative;
  text-align: center;
  padding-top: 80px;
}

.hero-banner {
    width: 100%;
    height: 60vh;            /* flexible height for cinematic look */
    object-fit: cover;       /* keeps image filling area */
    object-position: center; /* crop equally from top/bottom */
    filter: brightness(0.6); /* keeps overlay readable */
    display: block;
}


.hero-content {
  position: relative;
  margin-top: -70px;
}

.profile-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 0 20px #0ff;
}

.hero h1 {
  margin-top: 15px;
  font-size: 32px;
}

.hero h2 {
  color: #0ff;
  font-weight: normal;
  height: 24px;
  margin-top: 5px;
  margin-bottom: 40px;
}

.hero-buttons {
  margin-top: 15px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  color: #fff;
  transition: 0.3s;
}



.btn:hover { transform: scale(1.05); opacity: 0.85; }

/* Sections */
section {
  padding: 80px 20px;
  text-align: center;
}

section h2 {
  color: #0ff;
  margin-bottom: 40px;
  font-size: 28px;
}

/* Skills Section */
.skills-section {
  padding: 100px 20px;
  color: #fff;
  text-align: center;
  background: none; /* keep section transparent to show animated background */
}

.skills-section h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  background: linear-gradient(90deg, #fff, #0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassy Box for Skills */
/* Match width and alignment with About Section */
.skills-container.glass-card {
  max-width: 1000px;        /* same as about section */
  margin: 0 auto;
  padding: 40px 50px;       /* same padding as about */
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0,255,255,0.1);
  transition: 0.4s;
}

.skills-container.glass-card:hover {
  box-shadow: 0 0 50px rgba(0,255,255,0.3);
}

/* Grid for skills - keep it wide */
.skills-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.skills-list li {
  background: rgba(0,255,255,0.1);
  border: 1px solid rgba(0,255,255,0.2);
  border-radius: 10px;
  padding: 12px 10px;
  transition: 0.3s;
  font-weight: 500;
  text-align: center;
}

.skills-list li:hover {
  background: rgba(0,255,255,0.2);
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(0,255,255,0.4);
}


/* Projects Section */
.projects-container.glass-card {
  max-width: 1000px; /* match About & Skills */
  margin: 0 auto;
  padding: 40px 50px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0,255,255,0.1);
  transition: 0.4s;
}

.projects-container.glass-card:hover {
  box-shadow: 0 0 50px rgba(0,255,255,0.3);
}

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


.project-card {
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s;
  box-shadow: 0 0 10px rgba(0,255,255,0.1);
  text-align: center;
  padding-bottom: 15px;
}

.project-card img {
  width: 100%;
  height: 180px;          /* fixed height for consistency */
  object-fit: cover;      /* crops and fills nicely */
  display: block;
  border-bottom: 2px solid rgba(0,255,255,0.2); /* optional */
}

.project-card h3 {
  margin: 10px 0 5px;
}

.project-card p {
  padding: 0 10px;
  font-size: 14px;
  color: #ccc;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px #0ff;
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Modal Popup */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  background: rgba(17, 17, 17, 0.95);
  color: #fff;
  margin: 15% auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%; max-width: 400px;
  text-align: center;
  box-shadow: 0 0 20px #0ff;
}

.close-btn {
  float: right;
  font-size: 24px;
  cursor: pointer;
  color: #0ff;
}

/* Contact Section */
.contact-section {
  padding: 100px 20px;
  color: #fff;
  text-align: center;
}

.contact-section h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  background: linear-gradient(90deg, #fff, #0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassy Contact Container */
.contact-container.glass-card {
  max-width: 1000px; /* Same as other sections */
  margin: 0 auto;
  padding: 40px 50px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0,255,255,0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  transition: 0.4s;
  text-align: left;
}

.contact-container.glass-card:hover {
  box-shadow: 0 0 50px rgba(0,255,255,0.3);
}

/* Contact Info Styling */
.contact-info p {
  margin: 12px 0;
  font-size: 1.1rem;
}
.contact-info a {
  color: #0ff;
  text-decoration: none;
}
.contact-info a:hover {
  text-decoration: underline;
}

/* Contact Form Styling */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 1rem;
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.contact-form textarea {
  resize: none;
}

.contact-form button {
  width: 100%;
  padding: 12px;
  border-radius: 30px;
  background: #0ff;
  color: #000;
  font-weight: 600;
  transition: 0.3s;
  cursor: pointer;
  border: none;
}

.contact-form button:hover {
  background: #00cccc;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-container.glass-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .contact-info {
    text-align: center;
  }
}


/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #111;
  margin-top: 50px;
}

footer a {
  color: #0ff;
  margin: 0 10px;
  text-decoration: none;
}

/* Floating WhatsApp */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: #fff;
  padding: 12px 18px;
  border-radius: 50%;
  font-size: 20px;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  transition: 0.3s;
  z-index: 3000;
}

.whatsapp-btn:hover { transform: scale(1.1); }

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; background:#000; position:absolute; top:60px; right:0; width:200px; }
  .nav-links.show { display:flex; }
  .hamburger { display: block; }
  .hero-banner { height: 200px; }
  .contact-container { flex-direction: column; }
  .projects-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: repeat(2,1fr); }
}
/* Glass Form */
.glass-form {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.3s;
}

.glass-form:hover {
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
}

.glass-form input,
.glass-form textarea {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  transition: 0.3s;
}

.glass-form input:focus,
.glass-form textarea:focus {
  border-color: #0ff;
  box-shadow: 0 0 10px #0ff;
  outline: none;
}

/* Success Modal */
#successModal {
  display: none;
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(0,0,0,0.6);
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:3000;
}

.glass-modal {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 15px;
  backdrop-filter: blur(15px);
  text-align: center;
  color: #0ff;
  animation: popUp 0.4s ease;
}

@keyframes popUp {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.close-success {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #0ff;
}

.close-success:hover {
  color: #fff;
}

/* Success Modal - Always hidden by default */
#successModal {
  display: none !important; /* Force hidden at page load */
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 3000;
}

/* Glass effect for modal */
.glass-modal {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px 40px;
  border-radius: 15px;
  backdrop-filter: blur(15px);
  text-align: center;
  color: #0ff;
  animation: popUp 0.4s ease;
  position: relative;
}

/* Close button for modal */
.close-success {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #0ff;
}

.close-success:hover {
  color: #fff;
}

@keyframes popUp {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.glass-form form {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center all inputs/buttons */
}

.glass-form button {
  margin-top: 10px;
  align-self: center; /* Ensure the button is centered */
}

#backgroundCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Behind everything */
  background: black;
}
section h2 {
  font-size: 2.5rem;
  color: #ffffff; /* White title for contrast */
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.hero-section {
  text-align: center;
  padding: 120px 20px 100px; /* top-right-left-bottom */
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-section h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #0ff;
}

.hero-section .btn-container {
  margin-top: 40px; /* Space before buttons */
}
/* ===== About Section (transparent) ===== */
.about-section {
  padding: 100px 20px;
  color: #fff;
  text-align: center;
  background: none; /* no background color */
}

.about-section h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  background: linear-gradient(90deg, #fff, #0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== About Container with Glass Effect ===== */
.about-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  padding: 40px;
  max-width: 1000px;
  margin: 0 auto;

  /* Glass effect only */
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0,255,255,0.1);
  transition: 0.4s;
}

.about-container:hover {
  box-shadow: 0 0 50px rgba(0,255,255,0.3);
}

/* ===== About Image with Hover Swap + Glass Effect ===== */
.about-image {
  position: relative;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  padding: 10px; /* to show glass around image */
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.5s ease;
  box-shadow: 0 0 25px rgba(0,255,255,0.3);
}

.hover-img { opacity: 0; }
.about-image:hover .hover-img { opacity: 1; }
.about-image:hover .default-img { opacity: 0; }

/* ===== About Content & Buttons ===== */
.about-content { max-width: 600px; text-align: left; }
.about-content p { margin-bottom: 20px; line-height: 1.6; font-size: 1.1rem; }

.about-highlights {
  list-style: none; padding: 0; margin: 0 0 25px;
}
.about-highlights li {
  margin-bottom: 10px; font-size: 1.05rem;
  display: flex; align-items: center; gap: 8px;
}

.about-buttons { display: flex; gap: 20px; }
.btn-primary, .btn-secondary {
  padding: 12px 25px; border-radius: 30px;
  text-decoration: none; transition: 0.3s;
}
.btn-primary { background: #0ff; color: #000; }
.btn-primary:hover { background: #00cccc; }
.btn-secondary { background: transparent; border: 2px solid #0ff; color: #0ff; }
.btn-secondary:hover { background: #0ff; color: #000; }

/* ===== Main About Section ===== */
.about-section {
  padding: 100px 20px;
  color: #fff;
  text-align: center;
  background: none; /* Keep section transparent */
}

.about-section h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  background: linear-gradient(90deg, #fff, #0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== Main Glass Container ===== */
.about-container.glass-card {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  padding: 40px;
  max-width: 1000px;
  margin: 0 auto;

  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0,255,255,0.1);
  transition: 0.4s;
}

.about-container.glass-card:hover {
  box-shadow: 0 0 50px rgba(0,255,255,0.3);
}

/* ===== Inner Glass Card for Profile Image ===== */
.about-image.glass-card {
  position: relative;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  padding: 10px; /* spacing for inner glass effect */
  
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
  overflow: hidden;
}

/* ===== Profile Image Hover Swap ===== */
.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.5s ease;
  box-shadow: 0 0 25px rgba(0,255,255,0.3);
}

.hover-img { opacity: 0; }
.about-image:hover .hover-img { opacity: 1; }
.about-image:hover .default-img { opacity: 0; }

/* ===== About Content & Buttons ===== */
.about-content { max-width: 600px; text-align: left; }
.about-content p { margin-bottom: 20px; line-height: 1.6; font-size: 1.1rem; }

.about-highlights {
  list-style: none; padding: 0; margin: 0 0 25px;
}
.about-highlights li {
  margin-bottom: 10px; font-size: 1.05rem;
  display: flex; align-items: center; gap: 8px;
}

.about-buttons { display: flex; gap: 20px; }
.btn-primary, .btn-secondary {
  padding: 12px 25px; border-radius: 30px;
  text-decoration: none; transition: 0.3s;
}
.btn-primary { background: #0ff; color: #000; }
.btn-primary:hover { background: #00cccc; }
.btn-secondary { background: transparent; border: 2px solid #0ff; color: #0ff; }
.btn-secondary:hover { background: #0ff; color: #000; }

/* ===== Modal Popup ===== */
/* Modal hidden by default */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeBg 0.3s ease;
}

/* Modal content with smooth scale animation */
.modal-content {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  color: #fff;
  padding: 25px;
  border-radius: 15px;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 0 25px rgba(0,255,255,0.3);

  opacity: 0;
  transform: scale(0.85);
  animation: fadeInScale 0.3s forwards;
}

/* Background fade */
@keyframes fadeBg {
  from { background: rgba(0,0,0,0); }
  to { background: rgba(0,0,0,0.7); }
}

/* Scale + fade effect for modal */
@keyframes fadeInScale {
  to { opacity: 1; transform: scale(1); }
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  cursor: pointer;
  color: #0ff;
  transition: color 0.3s;
}

.close-btn:hover {
  color: #fff;
}

.hero {
  position: relative;
  text-align: center;
  padding: 120px 20px 60px; /* extra padding to fit image overlap */
  color: #fff;
}

.hero-banner {
  width: 100%;
  height: 350px;
  object-fit: cover;
  filter: brightness(0.6);
}

.hero-content.glass-card {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  padding: 20px 35px;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.15);
  margin: 0 auto;
  text-align: center;
  animation: floatingGlow 4s ease-in-out infinite;
}

@keyframes floatingGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 255, 0.2); }
  50% { box-shadow: 0 0 35px rgba(0, 255, 255, 0.4); }
}

.hero-profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #0ff;
  position: absolute;
  top: -75px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 25px rgba(0,255,255,0.4);
}

.hero-content h1 {
  margin-top: 65px;
  font-size: 2rem;
}

.hero-content h2 {
  margin: 5px 0 15px;
  font-size: 1.2rem;
  color: #0ff;
}


.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}
.hero-buttons a {
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid #0ff;
  transition: 0.3s;
  box-shadow: 0 0 8px rgba(0,255,255,0.3);
}

.hero-buttons a:hover {
  background: #0ff;
  color: #000;
  box-shadow: 0 0 20px #0ff;
}

.btn-hire, .btn-call {
  background: transparent;
  border: 2px solid #0ff;
  color: #0ff;
}
.btn-hire:hover, .btn-call:hover {
  background: #0ff;
  color: #000;
}

@media (max-width: 768px) {
  .hero-content.glass-card {
    width: 90%;
    padding: 70px 20px 30px;
  }
  .hero-profile-img {
    width: 120px;
    height: 120px;
    top: -60px;
  }
}
