* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', 'Helvetica', 'Arial', 'Sans-Serif', 'serif';
  line-height: 1.6;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.btn-outline {
  display: inline-block;
  padding: 12px 25px;
  border: 2px solid #fff;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s;
  margin-top: 20px;
}

.btn-outline:hover {
  background: #fff;
  color: #000;
}

.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  color: #fff;
  text-align: center;
}

.hero-menu {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 80px;
  box-sizing: border-box;
  color: #fff;
  z-index: 10;
  font-weight: 500;
  font-size: 1.1em;
}

.hero-menu a {
  position: relative;
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
  padding-bottom: 3px;
  transition: color 0.3s;
}

.hero-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.3s;
}

.hero-menu a:hover::after,
.hero-menu a.active::after {
  width: 100%;
}

.hero-menu a.active {
  font-weight: bold;
}

.menu-left {
  font-weight: bold;
}

.menu-right a.lang {
  font-size: 1.2em;
  margin-left: 10px;
}

.lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-btn {
  background: rgba(0,0,0,0.3);
  color: #fff;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  display: flex;
  align-items: center;
  gap: 5px;
}

.lang-btn:focus {
  outline: none;
}

.lang-list {
  display: none;
  position: absolute;
  top: 110%;
  right: 0;
  background: rgba(0,0,0,0.8);
  border-radius: 5px;
  overflow: hidden;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 120px;
  z-index: 100;
}

.lang-list li {
  padding: 10px 15px;
  cursor: pointer;
  color: #fff;
  white-space: nowrap;
  transition: background 0.2s;
}

.lang-list li:hover {
  background: rgba(255,255,255,0.2);
}


.hero-overlay {
  position: absolute;
  top:0;
  left:0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 6em;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.5em;
}



.about-section > .container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.about-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 80px;
}

.about-text {
  flex: 2 1 500px;
  min-width: 0;
}

.about-text h2 {
  font-size: 3em;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.25em;
}

.about-image {
  flex: 0 0 250px;
  display: flex;
  align-items: stretch;
}

.about-image img {
  height: 100%;
  width: auto;
  max-width: 650px;
  border-radius: 10px;
  display: block;
}

@media (max-width: 900px) {
  .about-section > .container {
    flex-direction: column;
    align-items: center;
  }

  .about-text,
  .about-image {
    flex: 1 1 100%;
    width: 100%;
  }

  .about-image img {
    height: auto;
    width: 80%;
    max-width: 400px; 
    margin-top: 20px;
  }
}


.skills-section {
  padding: 80px;
  background-color: #e6e6e6;
}


.skills-header {
  text-align: center;
  margin-bottom: 60px;
}

.skills-header h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.skills-header p {
  font-size: 1.2em;
  color: #555;
}

.skills-cards {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.skill-card {
  flex: 1 1 30%;
  text-align: center;
}

.skill-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
}

.skill-card h4 {
  font-size: 1.5em;
  margin-bottom: 15px;
}

.skill-card p {
  font-size: 1em;
  color: #555;
}

@media (max-width: 1024px) {
  .skills-cards {
    flex-direction: column;
    gap: 40px;
  }

  .skill-card {
    flex: 1 1 100%;
  }
}


#projects-section {
  padding: 80px;
  text-align: center;
}

#projects-section h2 {
  font-size: 2.5em;
  margin-bottom: 15px;
  color: #333;
}

#projects-section .section-intro {
  font-size: 1.2em;
  color: #666;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, 300px);
  gap: 30px;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .cards {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .card {
    width: 100%;
    max-width: 350px;
  }
}


.card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  flex: 1 1 300px;
  max-width: 350px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #222;
}

.card p {
  font-size: 1em;
  color: #555;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .cards {
    flex-direction: column;
    gap: 25px;
    align-items: center;
  }
}


.cta-banner {
  background: #2b427b;
  color: #fff;
  padding: 80px;
}

.cta-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.cta-text {
  flex: 1 1 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 20px;
}

.cta-text h2 {
  margin-bottom: 20px;
  font-size: 2.5em;
}

.cta-text p {
  font-size: 1.25em;
  line-height: 1.5;
}

.cta-btn {
  flex: 1 1 30%;
  display: flex;
  justify-content: center;
}

.cta-btn .btn {
  background: #fff;
  color: #2b427b;
  text-decoration: none;
  padding: 15px 30px;
  border: 2px solid #fff;
  border-radius: 0;
  font-weight: bold;
  transition: all 0.6s;
}

.cta-btn .btn:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

@media (max-width: 768px) {
  .cta-container {
    flex-direction: column;
    text-align: center;
  }

  .cta-text, .cta-btn {
    flex: 1 1 100%;
    padding: 0;
  }

  .cta-text {
    margin-bottom: 30px;
  }
}



#blog-section {
  width: 90%;
  max-width: 1200px;
  margin: auto;

  gap: 40px;
  padding: 80px 0 80px 0;
  background-color: #fefefe;
  text-align: center;
}

#blog-section h2 {
  font-size: 2.5em;
  margin-bottom: 15px;
  color: #333;
}

#blog-section .section-intro {
  font-size: 1.2em;
  color: #666;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.blog-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 350px));
  gap: 30px;
  justify-content: center;
  justify-items: stretch;
}

.blog-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  padding: 20px;

  flex: 1 1 350px;
  width: 350px;

  display: flex;
  flex-direction: column;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}


.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}


.blog-card h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #222;
}

.blog-card .date {
  font-size: 0.9em;
  color: #888;
  margin-bottom: 10px;
}

.blog-card p {
  font-size: 1em;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.btn-readmore {
  margin-top: auto;
  text-decoration: none;
  color: #4263be;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-readmore:hover {
  color: #005bb5;
  background-color: rgba(66, 99, 190, 0.1);
}

@media (max-width: 768px) {
  #blog-section {
    padding: 60px 20px;
  }

  .blog-cards {
    grid-template-columns: 1fr;
  }

  .blog-card {
    max-width: 100%;
  }
}

#home-blog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

#home-blog-header h2 {
  font-size: 2.5em;
  margin: 0;
  color: #333;
}


#btn-see-more {
  text-decoration: none;
  color: #4263be;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

#btn-see-more:hover {
  color: #005bb5;
  background-color: rgba(66, 99, 190, 0.1);
}

@media (max-width: 768px) {
  #home-blog-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  #home-blog-header h2 {
    font-size: 2em;
  }
}



.contact-section {
  display: flex;
  align-items: center;
  background-color: #e3e3e3;
  color: #121315;
  height: 50vh; 
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.contact-image {
  flex: 0 0 33.333%;
  height: 100%;
  overflow: hidden;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 80px;
  box-sizing: border-box;
}

.contact-text h2 {
  font-size: 2.8em;
}

.contact-subtext {
  margin-top: 20px;
  font-size: 1.1em;
  line-height: 1.5;
  padding-bottom: 50px;
}


.contact-item {
  font-size: 1.1em;
  margin-bottom: 15px;
}

.contact-item p {
  display: flex;
  align-items: center;
  margin: 0;
}

.contact-item i {
  font-size: 1.2em;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  color: #4263be;
}


.contact-text a {
  color: #121315;
  text-decoration: none;
}

.contact-text a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .contact-section {
    flex-direction: column;
    height: auto;
    align-items: center;
    text-align: center;
  }

  .contact-image,
  .contact-text {
    width: 100%;
    height: auto;
  }

  .contact-image img {
    height: 300px;
  }

  .contact-text {
    padding: 20px;
  }
}


a {
  color: #6782cb;
  text-decoration: none;
}