:root {
    --primary-color: #77ff99;
    --text-color: #333;
    --bg-color: #ffffff;
    --footer-bg: #0f172a;
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

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

body { font-family: 'Segoe UI', sans-serif; color: var(--text-color); line-height: 1.6; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }

.header { padding: 20px 0; background: var(--bg-color); }
.header__container { display: flex; justify-content: space-between; align-items: center; }

.logo { font-weight: bold; font-size: 1.5rem; text-decoration: none; color: var(--primary-color); }

.nav__list { display: flex; list-style: none; gap: 20px; }
.nav__list a { text-decoration: none; color: var(--text-color); font-weight: 500; }

.btn { padding: 10px 20px; border-radius: 5px; text-decoration: none; display: inline-block; transition: var(--transition); }
.btn--primary { background: var(--primary-color); color: white; }
.btn--secondary { background: transparent; border: 1px solid var(--primary-color); color: var(--primary-color); }
.btn:hover { opacity: 0.9; }

.hero { padding: 0; margin-bottom: 50px;}
.hero__container { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.hero h1 { font-size: 3rem; margin-bottom: 20px; }
.hero h1 span { color: var(--primary-color); }
.hero__actions { display: flex; gap: 15px; margin-top: 30px; }
.hero__image img 
{
  border-radius: ;
  border-radius: 0 50% 0 50%;
}
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 40px 0; }
.feature-item { text-align: center; padding: 20px; border: 1px solid #eee; border-radius: 10px; }
.feature-item__icon { font-size: 2rem; margin-bottom: 10px; }

.contact-section {
    min-height: 447px;
    padding: 80px 6.7% 74px;
    text-align: center;
}

.contact-section h1 {
    display: inline-block;
    position: relative;

    font-size: 25px;
    font-weight: 700;

    margin-bottom: 28px;
}

.contact-intro {
    font-size: 20px;
    font-weight: 700;

    margin-bottom: 34px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 24px;

    max-width: 1165px;
    margin: 0 auto 26px;
}

.contact-card {
    height: auto;
   padding: 15px;
    background: #eee;
    border-radius: 17px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 7px;
}

.contact-card i {
    font-size: 45px;
    line-height: 1;

    color: #000;

    margin-bottom: 1px;
}

.contact-card a {
    color: #000000;;
    font-size: 16px;

    text-decoration: underline;

    transition: color 0.2s ease;
}

.contact-card a:hover {
    color: #006fd6;
}


.contact-button {
    display: inline-block;

    padding: 12px 11px;

    background: #77ff99;
    color: white;

    border-radius: 10px;

    font-size: 15px;
    text-decoration: none;

    transition: background 0.2s ease;
}

.contact-button:hover {
    background: #0878df;
}


.footer {
    min-height: 167px;

    margin: 0 12px;

    background: #1f1f1f;

    color: #fff;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    padding: 18px 7% 15px;

    text-align: center;
}

.footer-column h3 {
    font-size: 18px;
    font-weight: 700;

    margin-bottom: 25px;
}

.footer-column p {
    font-size: 15px;
    line-height: 22px;
}

.footer-column a {
    color: #168cff;
    font-weight: 700;
    text-decoration: underline;
}

.social-column {
    display: flex;
    flex-direction: column;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
}
.center
{
text-align: center;
}
.social-links a {
    width: auto;
    height: 35px;
	padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: #77ff99;

    color: #000000;

    border-radius: 5px;

    font-size: 14px;
    font-weight: 400;

    text-decoration: underline;
}

.copyright {
    height: 66px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 14px;
    font-weight: 700;

    text-align: center;
}

.copyright a {
    color: #168cff;
    margin-left: 4px;
}


@media (max-width: 900px) {

    .contact-section {
        padding-left: 30px;
        padding-right: 30px;
    }

    .contact-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .footer {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 35px;

        padding-top: 25px;
        padding-bottom: 25px;
    }
}


@media (max-width: 550px) {

    .contact-section {
        padding: 55px 20px;
    }

    .contact-section h1 {
        font-size: 23px;
    }

    .contact-intro {
        font-size: 17px;
        line-height: 24px;
    }

    .footer {
        grid-template-columns: 1fr;

        margin: 0;

        padding: 30px 20px;
    }

    .copyright {
        height: auto;
        min-height: 65px;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .hero__container { grid-template-columns: 1fr; text-align: center; }
    .features__grid { grid-template-columns: 1fr 1fr; }
    .nav { display: none; }
}


.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 30px;
}

@media (min-width: 576px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .portfolio-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card-image {
  width: 100%;
  margin-bottom: 25px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.card-image img {
  width: 100%;
  height: auto;
  display: block;
}

.card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}

.card-text {
  font-size: 0.95rem;
  color: #666666;
  margin-bottom: 20px;
  min-height: 45px;
  line-height: 1.4;
}

.btn-primary {
  display: inline-block;
  background-color: #77ff99;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-primary:hover {
  background-color: #0076eb;
}

.btn-primary:active {
  transform: scale(0.98);
}
