:root {
    --black: #000000;
    --blue: #0B8AD9;
    --white: #FFFFFF;
    --gray: #cccccc;
}

body {
    margin: 0;
    font-family: 'Exo 2', sans-serif;
    background-color: var(--black);
    color: var(--white);
}

.navbar {
    padding: 2rem;
    background-color: var(--black);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: url('../img/Fyrra-bg-1a-01.jpg');
    background-size: cover;
    background-position: center;
    transition: background-image 0.5s ease;
    padding: 2rem;
    z-index: 1;
}

.hero:hover {
    background-image: url('../img/Fyrra-bg-1a-02.jpg');
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* dark overlay for text readability */
    z-index: 1;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.hero-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: flex-start;
    /* align to the left within container */
    padding-right: 30rem;
    /* push content to the right */
}

@media (max-width: 768px) {
    .hero-content {
        justify-content: center;
        padding-left: 1rem;
        padding-right: 1rem;
        text-align: center;
    }
}


.hero-logo {
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}


.hero-heading {
  font-size: 4rem;
  line-height: 1.2;
  text-align: left;

  opacity: 0;
  transform: translateX(-40px);
  animation: slideInFromLeft 1s ease-out forwards;
  animation-delay: 0.4s;
}


@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}





@media (max-width: 768px) {
    .hero-heading {
        font-size: 2.2rem;
        text-align: center;
    }

    .hero-overlay {
        flex-direction: column;
    }

    .hero-logo {
        width: 160px;
    }
}






.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    animation: fadeIn 1.2s ease-out forwards;
    opacity: 0;
}

.hero p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    animation: fadeIn 1.8s ease-out forwards;
    opacity: 0;
}

.hero img:first-child {
    margin-bottom: 2rem;
    width: 180px;
}

.vegvisir {
    position: absolute;
    top: 15%;
    right: 5%;
    opacity: 0.08;
    width: 280px;
    height: auto;
}

.stats {
    background-color: var(--blue);
    padding: 4rem 1rem;
    animation: slideUp 1s ease-out forwards;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
}

.stat-label {
    font-size: 1rem;
    color: var(--white);
}

.services {
    background-color: var(--black);
    padding: 5rem 2rem;
}

.service-card {
    background: linear-gradient(145deg, #0B8AD9 10%, #000 90%);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    color: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(11, 138, 217, 0.4);
}

.icon-wrapper {
    font-size: 2.5rem;
    color: var(--blue);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: background-color 0.3s ease;
}


.service-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.service-card:hover .icon-wrapper {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .icon-wrapper {
        font-size: 2rem;
        width: 50px;
        height: 50px;
    }
}


footer {
    background-color: var(--black);
    padding: 4rem 1rem;
    text-align: center;
}

.contact-btn {
    background-color: var(--blue);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-btn:hover {
    background-color: #097ac0;
    transform: translateY(-2px);
}

/* Generic angled section */
.angled-section {
    position: relative;
    z-index: 1;
    transform: skewY(-4deg);
    margin-bottom: -60px;
    padding: 7rem 0;
}

.angled-section .content {
    transform: skewY(4deg);
    position: relative;
    z-index: 2;
}

/* Reverse angle for the following section */
.angled-section-reverse {
    position: relative;
    z-index: 1;
    transform: skewY(-3deg);
    margin-bottom: -60px;
    padding: 5rem 0;
    background-color: var(--blue);
}

.angled-section-reverse-folio {
    position: relative;
    z-index: 1;
    transform: skewY(-3deg);
    margin-bottom: -60px;
    padding: 1rem 0;
    background-color: var(--blue);
}

.angled-section-reverse .content {
    transform: skewY(4deg);
    position: relative;
    z-index: 2;
}

.contact-section {
    background-color: var(--white);
    color: var(--black);
}

.contact-section h3 {
    color: var(--blue);
}

.contact-section .form-label {
    font-weight: 500;
}

.contact-section .form-control,
.contact-section .form-select {
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 0.75rem;
}

.contact-btn {
    background-color: var(--blue);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    border: none;
}

.contact-btn:hover {
    background-color: #097ac0;
    transform: translateY(-2px);
}

.footer {
    background-color: var(--black);
    position: relative;
}

.footer-icon {
    color: var(--white);
    font-size: 1.3rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.footer-icon:hover {
    color: var(--blue);
}

/* Go to top button */
#goTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--blue);
    color: white;
    border: none;
    border-radius: 12px;
    /* Square with soft corners */
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 999;
    display: none;
    text-align: center;
    line-height: 48px;
    padding: 0;
}

#goTopBtn:hover {
    transform: translateY(-5px);
    background-color: #097ac0;
}

.portfolio-card {
    overflow: hidden;
    border-radius: 16px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card img {
    transition: transform 0.4s ease;
    border-radius: 16px;
    display: block;
    width: 100%;
    height: auto;
}

.portfolio-card:hover img {
    transform: scale(1.08);
}

.portfolio-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.portfolio-detail h2 {
    font-size: 2.5rem;
}

.portfolio-detail ul li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}


.custom-brand-card {
    position: relative;
    background-color: #000;
    border: 2px solid #0B8AD9;
    border-radius: 20px;
    padding: 2rem 1.5rem 2.5rem;
    text-align: left;
    height: 100%;
    color: var(--white);
    box-shadow: 0 0 20px rgba(11, 138, 217, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-brand-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 30px rgba(11, 138, 217, 0.4);
}


.corner-icon {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    object-fit: contain;
    background-color: #000;
    padding: 10px;
    border-radius: 16px;
    box-shadow: 0 0 18px rgba(11, 138, 217, 0.5);
    z-index: 10;
}


.custom-brand-card h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.custom-brand-card p {
    font-size: 0.95rem;
    color: #cccccc;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card:hover .corner-icon {
    box-shadow: 0 0 20px rgba(11, 138, 217, 0.8), 0 0 40px rgba(11, 138, 217, 0.5);
    transform: scale(1.05);
    transition: all 0.4s ease;
}


.px-custom {
  padding-left: 3rem;
  padding-right: 3rem;
}

.contact-section {
  background: url('assets/img/bg.png') no-repeat center center;
  background-size: cover;
}

.bg-blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
  background-color: rgba(0, 0, 0, 0.3); /* Optional overlay */
  z-index: 1;
}


@media (min-width: 768px) {
  .px-custom {
    padding-left: 5rem;
    padding-right: 5rem;
  }
}

@media (min-width: 1200px) {
  .px-custom {
    padding-left: 8rem;
    padding-right: 8rem;
  }
}







/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .service {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}