/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f5faff;
  color: #00264d;
  line-height: 1.7;
}

/* Container */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #66a6ff, #89f7fe);
  padding: 80px 20px;
  color: white;
}

.hero h1 {
  font-size: 3rem;
  margin: 15px 0 10px;
}

.tagline {
  font-size: 1.2rem;
  margin-bottom: 25px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.profile-pic {
  width: 220px;              
  height: 220px;
  object-fit: cover;         
  object-position: center top; 
  border-radius: 50%;
  border: 5px solid white;   
  box-shadow: 0 6px 15px rgba(0,0,0,0.25); 
  margin-bottom: 20px;       
}


.icon-badge {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background-color: #004080;   
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
}

.icon-badge i {
  font-size: 2.2rem; 
  color: white;       
}

.card:hover .icon-badge {
  background-color: #0066cc;   
  transform: scale(1.1);
}




.project-icon {
  font-size: 2.5rem;
  color: #004080;       
  margin-bottom: 12px;
  transition: color 0.3s, transform 0.3s;
}

.card:hover .project-icon {
  color: #0066cc;        
  transform: scale(1.2);
}




/* Buttons */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  background-color: #004080;
  color: white;
  padding: 10px 25px;
  text-decoration: none;
  border-radius: 25px;
  transition: all 0.3s;
}

.btn:hover {
  background-color: #0066cc;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: #00264d;
}

.btn-secondary:hover {
  background-color: #004080;
}

/* About Section */
.about {
  padding: 60px 20px;
  background-color: #e6f3ff;
}

.about p {
  max-width: 800px;
  margin: 15px auto;
  font-size: 1.05rem;
  color: #003366;
}

/* Projects */
.projects {
  padding: 60px 20px;
}

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

.card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card h3 {
  margin-bottom: 12px;
  color: #004080;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.card a {
  display: inline-block;
  background-color: #004080;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.3s;
}

.card a:hover {
  background-color: #0066cc;
}

/* Resume */
.resume {
  padding: 60px 20px;
  background-color: #e6f3ff;
}

.resume-frame {
  height: 80vh;
  border: 1px solid #b3d9ff;
  border-radius: 12px;
  margin-top: 20px;
}

/* Contact */
.contact {
  background: linear-gradient(135deg, #89f7fe, #66a6ff);
  padding: 40px 20px;
  color: white;
}

.contact h2 {
  margin-bottom: 15px;
}

.contact p {
  margin-bottom: 20px;
}

.social-icons {
  margin-top: 1rem;
}

.social-icons a {
  color: white;           
  font-size: 2rem;        
  margin: 0 15px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
}

.social-icons a[href*="mailto"]:hover {
  color: #d44638; 
}

.social-icons a[href*="github"]:hover {
  color: #000000; 
}

.social-icons a[href*="linkedin"]:hover {
  color: #0077b5; 
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .resume-frame {
    height: 400px;
  }
}
