html {
  scroll-behavior: smooth;
}

/* Sea Green and Blue Theme Variables */
:root {
  --sea-green: #2E8B57;
  --sea-green-light: #3CB371;
  --sea-green-dark: #228B22;
  --ocean-blue: #4682B4;
  --sky-blue: #87CEEB;
  --deep-blue: #1E3A8A;
  --light-blue: #ADD8E6;
  --accent-cyan: #00CED1;
  --white: #ffffff;
  --dark-gray: #2c3e50;
  --light-gray: #ecf0f1;
}

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
  color: var(--dark-gray);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--ocean-blue);
  transition: color 0.3s ease;
}

h1,
h2 {
  line-height: 1.2;
  font-weight: 600;
  color: var(--deep-blue);
}

p {
  margin: 10px 0;
  font-weight: 400;
  color: var(--dark-gray);
}

img {
  width: 100%;
  
}

.flex-items-about {
  display: flex;
  text-align: center;
  justify-content: center;
  text-align: center;
  height: 100%;
}

.flex-items-about > div {
  padding: 20px;
}

.flex-columns.flex-reverse .row {
  flex-direction: row-reverse;
}

.flex-columns .row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

.flex-columns .column {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 1;
}

.flex-columns .column .column-1,
.flex-columns .column .column-2 {
  height: 100%;
}

.flex-columns img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flex-columns .column-2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 30px;
}

.flex-columns h2 {
  font-size: 40px;
  font-weight: 100;
}

.flex-columns h4 {
  margin-bottom: 10px;
}

.flex-columns p {
  margin: 20px 0;
}

.section-header {
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.section-header h2 {
  font-size: 40px;
  margin: 20px 0;
}

.section-padding {
  padding: 20px 20px 40px;
}

.flex-grid .row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

.flex-grid .column {
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
}

.items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 20px;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.3);
}

.item {
  position: relative;
  background: var(--white);
  overflow: hidden;
  padding-bottom: 10px;
  margin: 5px 5px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.item::after {
  content: "";
  position: absolute;
  display: block;
  background: inherit;
  opacity: 0.9;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: scale(2) translateX(-75%) translateY(-75%) rotate(-28deg);
  transition: transform 3s cubic-bezier(0.2, 1, 0.3, 1);
}
img {
  height: 100%;
  width: 100%;
}
.item-image {
  height: 28vh;
}

.item:after:hover {
  transform: scale(2) translateX(0) translateY(0) rotate(-28deg);
}

.image:hover {
  transform: scale(1.2);
}

.text:hover {
  opacity: 1;
  transform: translateY(0);
}

.image {
  height: auto;
  transform: translateZ(0);
  display: block;
  transition: transform 750ms cubic-bezier(0.2, 1, 0.3, 1);
}

.image:before {
  content: "";
  display: block;
  padding-top: 75%;
  overflow: hidden;
}

.image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  line-height: 0;
}

.text {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  text-align: center;
  z-index: 1;
  color: #fff;
  transform: translateY(-20%);
  transition: opacity 500ms cubic-bezier(0.2, 1, 0.3, 1),
    transform 500ms cubic-bezier(0.2, 1, 0.3, 1);
  transition-delay: 300ms;
}

.project{
  color: var(--white);
  background: linear-gradient(135deg, var(--sea-green), var(--ocean-blue));
  border: none;
  border-radius: 25px;
  padding: 12px 24px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
}
.item-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.item-text-wrap h2 {
  margin-bottom: 10px;
  text-align: center;
}

.text-wrap {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
}

.text-title {
  font-size: 2rem;
  padding: 0 1rem;
  margin: 5px 0 0 0;
}

.text-category {
  text-transform: uppercase;
  font-size: 1.2rem;
  opacity: 0.7;
  margin: 0;
}

.column1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.b {
  margin: 20px 0px 0px 30px;
}

#about h2,
#work h2,
#skills h2 {
  text-transform: uppercase;
  font-size: 32px;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: var(--deep-blue);
}
.contact {
  text-transform: uppercase;
  font-size: 32px;
  letter-spacing: 1.5px;
  color: var(--white);
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.cases .row .column img {
  padding: 5px;
}

.cases {
  padding-top: 25px;
  text-align: center;
}

.cases p {
  padding: 0 5px 5px 5px;
}

.cases img {
  object-fit: cover;
  width: 100%;
}

.project {
  padding: 15px;
  background: linear-gradient(135deg, var(--sea-green), var(--ocean-blue));
  height: 50px;
  width: 150px;
  cursor: pointer;
  font-size: 16px;
  border: none;
  border-radius: 25px;
  color: var(--white);
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
}

.project:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 139, 87, 0.4);
}
.center {
  text-align: center;
}

.home-btn {
  border: 2px solid var(--white);
  color: var(--white);
  padding: 15px;
  background: transparent;
  height: 60px;
  width: 150px;
  cursor: pointer;
  font-size: 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.home-btn:hover {
  background: var(--white);
  color: var(--sea-green);
  transform: translateY(-2px);
}
.home-btn:focus {
  outline: none;
}
.button {
  padding-top: 40px;
}
.b {
  margin: 20px 0px 0px 30px;
}

.skill-column {
  max-width: 30vw;
}




.button--secondary {
  background: transparent;
  border: none;
  padding: 0;
}

.button--secondary a {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--sea-green-light), var(--ocean-blue));
  color: var(--white);
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
}

.button--secondary a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 139, 87, 0.4);
}

.resume-btn {
  color: var(--white);
  background: linear-gradient(135deg, var(--sea-green-light), var(--ocean-blue));
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
}

.resume-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 139, 87, 0.4);
}

.download-btn {
  background-color: white;
  border: none;
  color: rgb(240, 73, 204);
  padding: 12px 30px;
  cursor: pointer;
  font-size: 20px;
}
.download-btn:hover {
  background-color: lightpink;
}
/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  width: 90vw;
  height: 70px;
  padding: 0 20px;
  transition: 0.5s;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1000;
}

.navbar .logo {
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin: 0;
}

.navbar nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.navbar .button--secondary {
  margin: 0;
  padding: 0;
}

.navbar.top {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.navbar a {
  color: var(--white);
  padding: 10px 20px;
  margin: 0 5px;
  font-weight: 500;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.navbar a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.navbar ul {
  display: flex;
}

.navbar .logo {
  font-weight: 400;
}
.logo {
  color: var(--white);
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Hero */
.hero {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, var(--sea-green) 0%, var(--ocean-blue) 50%, var(--deep-blue) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="waves" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M0 50 Q25 30 50 50 T100 50" stroke="rgba(255,255,255,0.1)" stroke-width="0.5" fill="none"/></pattern></defs><rect width="100" height="100" fill="url(%23waves)"/></svg>');
  opacity: 0.3;
}

.hero {
  height: 100vh;
}

.details h1 {
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  font-family: "Poppins", sans-serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
}

.home-btn {
  border: 2px solid var(--white);
  color: var(--white);
  padding: 15px;
  background: transparent;
  height: 50px;
  width: 150px;
  cursor: pointer;
  font-size: 16px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.home-btn:hover {
  background: var(--white);
  color: var(--sea-green);
  transform: translateY(-2px);
}
.home-btn:focus {
  outline: none;
}
.button {
  padding-top: 40px;
}
.b {
  margin: 20px 0px 0px 30px;
}
.details p {
  color: var(--white);
  font-size: 19px;
  text-align: center;
  font-weight: 400;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/*Blog*/

#skills {
  background: linear-gradient(135deg, var(--white) 0%, var(--light-blue) 100%);
  color: var(--dark-gray);
  padding-top: 50px;
  padding-bottom: 50px;
}

.flex-items .row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.flex-items .column {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 1;
}

.flex-items img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.flex-items .column2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 20px;
  padding-right: 20px;
  color: #fff;
  height: 100%;
}

#blog a {
  color: #444;
}

#blog .fa {
  color: var(--sea-green);
}

#blog p {
  font-weight: bold;
}

.flex-items h4 {
  font-size: 30px;
}

.flex-items .btn {
  border: 2px solid #fff;
}

#blog .column2 {
  background: #fff;
  color: #444;
}

.btn {
  color: var(--white);
  padding: 12px 24px;
  border: none;
  background: linear-gradient(135deg, var(--sea-green), var(--ocean-blue));
  cursor: pointer;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 139, 87, 0.4);
}

/* Project */
.bottom-line {
  height: 3px;
  width: 3rem;
  background: linear-gradient(90deg, var(--sea-green), var(--ocean-blue));
  display: block;
  margin: 1rem auto 1rem auto;
  border-radius: 2px;
}

/* Footer */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 200px;
  margin: 0;
  background: linear-gradient(135deg, var(--deep-blue) 0%, var(--sea-green) 100%);
}

.footer a {
  color: #fff;
}

.footer a:hover {
  color: var(--sea-green-light);
  transform: translateY(-2px);
}

.footer .social > * {
  padding: 20px;
}

.bg-dark {
  background: linear-gradient(135deg, var(--deep-blue) 0%, var(--sea-green) 100%);
}

.footer-text {
  text-align: center;
  color: var(--white);
  padding-top: 20px;
  font-size: 14px;
  opacity: 0.8;
}

.footer p {
  text-align: center;
  color: var(--white);
  padding-top: 5px;
  margin-bottom: 10px;
}

/* Skills */
.icons {
  padding: 30px;
}

.icons h3 {
  font-weight: bold;
  margin-bottom: 15px;
}

.icons i {
  background: linear-gradient(135deg, var(--sea-green), var(--ocean-blue));
  color: var(--white);
  padding: 1rem;
  border-radius: 50%;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
  transition: all 0.3s ease;
}

.icons i:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(46, 139, 87, 0.4);
}

.cases img:hover {
  opacity: 0.7;
}

.team img {
  border-radius: 50%;
}

/* About */
.about-section {
  padding: 50px;
  text-align: center;
  background: linear-gradient(135deg, var(--white) 0%, var(--light-blue) 100%);
  color: var(--dark-gray);
}
@media (min-width: 800px) {
  .services {
    display: flex;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }

  .service + .service {
    margin-left: 2em;
  }
}
/* Mobile */
@media (max-width: 768px) {
  /* Navbar */
  .navbar {
    flex-direction: column;
    height: 120px;
    padding: 20px;
  }

  .navbar a {
    padding: 10px 10px;
    margin: 0 3px;
  }

  /* Blog */
  .flex-items {
    flex-direction: column;
  }

  .flex-items .column {
    flex: 100%;
    max-width: 100%;
  }

  .details p {
    font-size: 19px;
    text-align: center;
  }
  .specials {
    grid-template-columns: repeat(1, 1fr);
  }
  .button {
    text-align: center;
    padding-top: 0;
  }
  .row {
    flex-direction: column;
  }
}

@media (max-width: 952px) {
  .items {
    grid-template-columns: repeat(1, 1fr);
  }
  .column1 img {
    object-fit: cover;
    height: 100%;
    width: 100%;
  }
}

@media screen and (max-width: 1024px) {
  .presentation {
    flex-direction: column;
  }
  .introduction {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    height: 100%;
    flex-direction: column;
  }
  .intro-text h1 {
    font-size: 30px;
  }
  .intro-text p {
    font-size: 18px;
  }
  .cta {
    padding: 10px 0px 0px 0px;
  }
  .laptop-select {
    bottom: 5%;
    right: 50%;
    width: 50%;
    transform: translate(50%, 5%);
  }

  .cover img {
    display: none;
  }
}
