/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  font-family: var(--font-family);
}

/* Variables */
:root {
  --primary-color: #359ae3;
  --secondary-color: #5ce526;
  --accent-color: #f52424;
  --text-color: #34495e;
  --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Body */
body {
  background: #faf8f8;
  color: var(--text-color);
  font-family: var(--font-family);
  line-height: 1.6;
}

/* Navbar */
nav {
  width: 100%;
  background: #f8f8f8;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
nav .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}
nav .links ul {
  display: flex;
  gap: 1.5rem;
}
nav .links a {
  color: var(--text-color);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-transform: uppercase;
  transition: color 0.3s, border-bottom 0.3s;
}
nav .links a:hover {
  color: var(--primary-color);
  border-bottom: 3px solid var(--primary-color);
  padding-bottom: 0.6rem;
}
nav .links i {
  display: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-left: 1rem;
  transition: color 0.3s;
}

/* Hero / Main Section */
.main {
  height: 100vh;
  background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('images/hero.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 2rem;
  text-align: center;
}
.main h1 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 1rem;
}
.main p {
  font-size: 1.2rem;
  color: #eee;
  margin-bottom: 1.5rem;
  margin-bottom: 2rem;
}
.main button {
  padding: 0.8rem 2rem;
  font-size: 1rem;
  background: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  transition: background 0.3s;
}
.main button:hover {
  background: #c91313;
}

/* About Section */
.about {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 6rem 2rem;
  background: #f7f7f7;
  gap: 2rem;
}
.about-data {
  flex: 1 1 300px;
}
.about-data h1 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}
.about-data p {
  font-size: 1rem;
  text-align: justify;
  margin-bottom: 1.5rem;
}
.about-data button {
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  background: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  transition: background 0.3s;
}
.about-data button:hover {
  background: #c91313;
}
.about-img {
  flex: 1 1 300px;
  max-width: 400px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  border-radius: 1rem;
  overflow: hidden;
}
.about-img img {
  width: 100%;
  display: block;
  height: auto;
  object-fit: cover;
}

/* Portfolio Section */
.portfolio-section {
  padding: 4rem 2rem;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h1 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: .5rem;
}
.section-header p {
  font-size: 1.6rem;
  color: #222;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.portfolio-card {
  background: #fff;
  height: 30rem;
  width: 95%;
  border-radius: .8rem;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  border: 1px solid #ddd;
  transition: transform 0.3s, box-shadow 0.3s;
  -webkit-transition: transform 0.3s, box-shadow 0.3s;
  -moz-transition: transform 0.3s, box-shadow 0.3s;
  -ms-transition: transform 0.3s, box-shadow 0.3s;
  -o-transition: transform 0.3s, box-shadow 0.3s;
  -webkit-border-radius: .8rem;
  -moz-border-radius: .8rem;
  -ms-border-radius: .8rem;
  -o-border-radius: .8rem;
}
.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  -webkit-transform: translateY(-5px);
  -moz-transform: translateY(-5px);
  -ms-transform: translateY(-5px);
  -o-transform: translateY(-5px);
}
.card-image {
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}
.card-content {
  padding: 1.5rem;
}
.card-title {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: .5rem;
}
.card-description {
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 1rem;
  text-align: justify;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.card-tags .tag {
  background: var(--secondary-color);
  color: #fff;
  padding: .3rem .6rem;
  border-radius: .3rem;
  font-size: .8rem;
}

/* Contact Section */
.contact-us {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(53,190,74,0.8), rgba(70,155,209,0.8));
  text-align: center;
  color: #fff;
}
.contact-data h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}
.contact-data p {
  font-size: 1rem;
  margin-bottom: 2rem;
}
.contact-btn {
  padding: .7rem 1.5rem;
  font-size: 1rem;
  background: var(--accent-color);
  border: none;
  color: #fff;
  border-radius: 2rem;
  cursor: pointer;
  transition: background 0.3s;
}
.contact-btn:hover {
  background: #c91313;
}

/* Form Section */
.form {
  padding: 4rem 2rem;
  background: #fff;
}
.form h1 {
  text-align: center;
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}
form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
label {
  font-size: 1rem;
  color: var(--text-color);
}
input, textarea {
  padding: .8rem;
  font-size: 1rem;
  border: 2px solid #ccc;
  border-radius: .5rem;
  outline: none;
  resize: vertical;
  transition: border-color 0.3s;
}
input:focus, textarea:focus {
  border-color: var(--primary-color);
}
form button {
  padding: .8rem 1.5rem;
  font-size: 1rem;
  background: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  transition: background 0.3s;
}
form button:hover {
  background: var(--secondary-color);
}

/* Footer */
footer {
  background: #f8f8f8;
  padding: 2rem;
  
}
.footer-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  display: flex;
  flex-direction: row;
   justify-content: space-between;
}
.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}
.footer-links, .footer-socials {
  display: flex;
  gap: 1rem;
}
.footer-links a, .footer-socials a {
  font-size: .9rem;
  color: var(--text-color);
  transition: color 0.3s;
}
.footer-links a:hover, .footer-socials a:hover {
  color: var(--primary-color);
}
.footer-bottom {
  margin-top: 3rem;
  font-size: .9rem;
  color: var(--text-color);
  text-align: center;
}

/***** nav *****/ 
 @media (max-width:600px) {
  nav .links i {
    display: block;
    color: var(--text-color);
  }
   nav .links ul {
    display: none;
  
 }
 nav .links i:hover {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.6rem;
  transition: color 0.3s, border-bottom 0.3s;
}

/***** responsive about *****/ 

.about-img {
  flex: 1 1 300px;
  max-width: 600px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  border-radius: 1rem;
  overflow: hidden;
}
.about-img img {
  width: 100%;
  display: block;
  height: auto;
  object-fit: cover;
}
.portfolio-card {
  background: #fff;
  height: 35rem;
  width: 100%;
  
}
/***** End responsive about *****/

  @media ( max-width : 1024px) {

  
 }

  @media ( max-width: 1440px) {

  
 }


/***** End nav *****/

/***** main *****/ 
 @media (max-width:600px) {

  
 }

  @media ( max-width : 1024px) {

  
 }

  @media ( max-width: 1440px) {

  
 }
 /***** End main *****/

/***** about *****/ 
 @media (max-width:600px) {

  
 }

  @media ( max-width : 1024px) {

  
 }

  @media ( max-width: 1440px) {

  
 }
/***** End about *****/
/***** portfolio-section *****/ 

 @media (max-width:600px) {

  
 }

  @media ( max-width : 1024px) {

  
 }

  @media ( max-width: 1440px) {

  
 }
/***** End portfolio-section *****/


/***** contact-us *****/ 
 @media (max-width:600px) {

  
 }

  @media ( max-width : 1024px) {

  
 }

  @media ( max-width: 1440px) {

  
 }

/***** End contact-us *****/
/***** form *****/ 

 @media (max-width:600px) {

  
 }

  @media ( max-width : 1024px) {

  
 }

  @media ( max-width: 1440px) {

  
 }
/***** End form *****/

/***** footer *****/
 @media (max-width:600px) {

  
 }

  @media ( max-width : 1024px) {

  
 }

  @media ( max-width: 1440px) {

  
 }

/***** End footer *****/


