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

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9fbfd;
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cal Sans', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #0B4F6C;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: #555;
}

a {
  color: #00B4D8;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #0077B6;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn.primary {
  background-color: #00B4D8;
  color: white;
  border: 2px solid #00B4D8;
}

.btn.primary:hover {
  background-color: #0077B6;
  border-color: #0077B6;
  transform: translateY(-2px);
}

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

.btn.secondary:hover {
  background-color: rgba(0, 180, 216, 0.1);
  transform: translateY(-2px);
}

/* Header & Navigation */
header {
  background-color: #CAF0F8;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-size: 1.8rem;
  margin-bottom: 0;
  color: #0B4F6C;
  position: relative;
}

.logo h1::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #48CAE4;
  transition: transform 0.3s;
  transform-origin: left;
}

.logo h1:hover::after {
  transform: scaleX(0);
}

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

nav ul li a {
  font-weight: 500;
  color: #0B4F6C;
  padding: 8px 0;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #48CAE4;
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: right;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Hero Section */
.hero {
  padding: 80px 0;
  min-height: calc(100vh - 83px);
  display: flex;
  align-items: center;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  flex: 1;
}

.headline {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.accent {
  color: #00B4D8;
}

.subheadline {
  font-size: 1.25rem;
  color: #666;
  margin-bottom: 2rem;
  max-width: 600px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-image {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 119, 182, 0.2);
  transition: transform 0.5s ease;
  border: 10px solid #48CAE4;
}

.profile-image:hover {
  transform: scale(1.03);
  border-color: #00B4D8;
}

/* Section Styling */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #0B4F6C;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60%;
  height: 4px;
  background-color: #48CAE4;
  margin: 10px auto 20px;
}

.section-header p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Projects Section */
.projects-section {
  background-color: #f0f8ff;
}

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

.project-card {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 119, 182, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 119, 182, 0.15);
}

.project-image {
  height: 220px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.placeholder-image {
  width: 100%;
  height: 100%;
  background-color: #CAF0F8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #0077B6;
  font-size: 1.2rem;
}

.project-info {
  padding: 25px;
}

.project-info h3 {
  margin-bottom: 10px;
  color: #0B4F6C;
}

.project-info p {
  margin-bottom: 20px;
  color: #666;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.project-tags span {
  background-color: #e6f7fb;
  color: #0077B6;
  font-size: 0.85rem;
  padding: 5px 12px;
  border-radius: 20px;
}

.project-link {
  font-weight: 500;
  display: inline-block;
  margin-top: 10px;
  color: #00B4D8;
}

.project-link:hover {
  color: #0077B6;
}

/* About Section */
.about-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-image {
  flex: 1;
}

.about-image img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 119, 182, 0.2);
  border: 10px solid #48CAE4;
}

.about-text {
  flex: 1.2;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 25px;
  color: #0B4F6C;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.skills {
  margin-top: 30px;
}

.skills h3 {
  margin-bottom: 15px;
  color: #0B4F6C;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-tags span {
  background-color: #e6f7fb;
  color: #0077B6;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
}

/* Contact Section */
.contact-section {
  background-color: #f0f8ff;
}

.contact-container {
  display: flex;
  gap: 50px;
  margin-top: 40px;
}

.contact-form {
  flex: 1.5;
  background-color: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 119, 182, 0.1);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #0B4F6C;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
  font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #48CAE4;
}

.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-item {
  padding: 30px;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 119, 182, 0.1);
}

.info-item h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #0B4F6C;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-links a {
  color: #00B4D8;
  font-weight: 500;
}

.social-links a:hover {
  color: #0077B6;
}

/* Footer */
footer {
  background-color: #CAF0F8;
  padding: 40px 0;
  border-top: 5px solid #48CAE4;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: #0B4F6C;
  font-weight: 500;
}

.footer-links a:hover {
  color: #00B4D8;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero .container {
    flex-direction: column-reverse;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .subheadline {
    margin: 0 auto 2rem;
  }
  
  .cta-buttons {
    justify-content: center;
  }
  
  .about-content {
    flex-direction: column;
    text-align: center;
  }
  
  .skill-tags {
    justify-content: center;
  }
  
  .contact-container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .navbar {
    flex-direction: column;
    gap: 20px;
  }
  
  nav ul {
    gap: 15px;
  }
  
  .headline {
    font-size: 2.5rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn {
    width: 100%;
  }
}