:root {
    --primary: #84dcc6;
    /* Tiffany Blue - for aksenter, knapper, ikoner */
    --secondary: #4b4e6d;
    /* Ultra Violet - for gradienter, hover-effekter */
    --gradient-start: #4b4e6d;
    /* Ultra Violet */
    --gradient-end: #393c57;
    /* Mørkere Ultra Violet */
    --background: #222222;
    /* Eerie black - hovedbakgrunn */
    --text: #ffffff;
    /* White - hovedtekstfarge */
    --text-secondary: #95a3b3;
    /* Cadet gray - sekundærtekst */
    --card-bg: rgba(75, 78, 109, 0.2);
    /* Ultra Violet med gjennomsiktighet */
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--background);
    background-image:
        radial-gradient(circle at top right, rgba(75, 78, 109, 0.15), transparent 60%),
        radial-gradient(circle at bottom left, rgba(132, 220, 198, 0.1), transparent 60%);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: rgba(34, 34, 34, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(75, 78, 109, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover:after,
.nav-links a.active:after {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text);
    margin: 5px;
    transition: var(--transition);
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
    background-color: var(--primary);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
    background-color: var(--primary);
}

/* Hero section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 2rem;
    min-height: 70vh;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(75, 78, 109, 0.2), rgba(75, 78, 109, 0.4));
    z-index: -1;
}

h1,
h2,
h3,
.logo {
    letter-spacing: 1px;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--text), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 700px;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: var(--primary);
    color: var(--background);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(132, 220, 198, 0.3);
    text-decoration: none;
    display: inline-block;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(132, 220, 198, 0.4);
    background-color: #70c9b4;
    /* Slightly darker Tiffany Blue */
}

/* Feature cards */
.feature-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 5%;
    margin-bottom: 3rem;
}

.card {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    max-width: 350px;
    width: 100%;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(75, 78, 109, 0.3);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(132, 220, 198, 0.3);
}

.card:hover::before {
    height: 8px;
}

.card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.card i::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(132, 220, 198, 0.3), transparent 70%);
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover i::before {
    opacity: 1;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Testimonial */
.testimonial {
    padding: 5rem 2rem;
    background: rgba(75, 78, 109, 0.1);
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(132, 220, 198, 0.2), transparent 70%);
    top: 10%;
    left: 10%;
    border-radius: 50%;
}

.testimonial::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(75, 78, 109, 0.3), transparent 70%);
    bottom: 5%;
    right: 5%;
    border-radius: 50%;
}

.testimonial .container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.quote-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(132, 220, 198, 0.3), transparent 70%);
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quote-icon:hover::before {
    opacity: 1;
}

.quote {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.author {
    font-weight: 600;
    color: var(--text-secondary);
}

/* Newsletter */
.newsletter {
    padding: 5rem 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter p {
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.form-group input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px 0 0 50px;
    font-size: 1rem;
    outline: none;
}

.submit-btn {
    background-color: var(--primary);
    color: var(--background);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 0 50px 50px 0;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: #70c9b4;
    /* Slightly darker Tiffany Blue */
}

/* Footer */
footer {
    background-color: rgba(34, 34, 34, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem 5% 1rem;
    border-top: 1px solid rgba(75, 78, 109, 0.3);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(75, 78, 109, 0.05), rgba(75, 78, 109, 0.15));
    z-index: -1;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
}

.footer-section p {
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(75, 78, 109, 0.3);
    color: var(--text);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(132, 220, 198, 0.3), transparent 70%);
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary);
    color: var(--background);
    transform: translateY(-5px);
}

.social-icons a:hover::before {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(75, 78, 109, 0.3);
    color: var(--text-secondary);
}

/* Page Header */
.page-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 2rem 3rem;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(75, 78, 109, 0.3), rgba(75, 78, 109, 0.5));
    z-index: -1;
}

/* Services Page */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 5%;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.service-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(75, 78, 109, 0.3);
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.service-icon {
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(75, 78, 109, 0.2);
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(132, 220, 198, 0.1), rgba(75, 78, 109, 0.2));
    top: 0;
    left: 0;
}

.service-icon i {
    font-size: 3rem;
    color: var(--primary);
    position: relative;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.service-link i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.service-link:hover {
    color: #70c9b4;
    /* Slightly darker Tiffany Blue */
}

.service-link:hover i {
    transform: translateX(5px);
}

/* CTA Section */
.cta-section {
    padding: 5rem 2rem;
    text-align: center;
    background: linear-gradient(rgba(75, 78, 109, 0.2), rgba(75, 78, 109, 0.4));
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(132, 220, 198, 0.15), transparent 70%);
    top: -100px;
    left: -100px;
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(132, 220, 198, 0.1), transparent 70%);
    bottom: -100px;
    right: -100px;
    border-radius: 50%;
}

.cta-section .container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Portfolio Page */
.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 0 2rem;
}

.filter-btn {
    background-color: rgba(75, 78, 109, 0.3);
    color: var(--text);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary);
    color: var(--background);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 5%;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    transition: all 0.4s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.portfolio-img {
    position: relative;
    overflow: hidden;
}

.portfolio-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(75, 78, 109, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-info {
    text-align: center;
    padding: 1rem;
}

.portfolio-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.portfolio-info p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.portfolio-link {
    display: inline-block;
    background-color: var(--primary);
    color: var(--background);
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.portfolio-link:hover {
    background-color: #70c9b4;
    /* Slightly darker Tiffany Blue */
}

/* Contact Page */
.contact-section {
    padding: 2rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info {
    padding: 2rem;
    background-color: var(--card-bg);
    border-radius: 20px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(75, 78, 109, 0.3);
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-info>p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.info-item i::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(132, 220, 198, 0.3), transparent 70%);
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-item:hover i::before {
    opacity: 1;
}

.info-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-social {
    margin-top: 2rem;
}

.contact-form {
    padding: 2rem;
    background-color: var(--card-bg);
    border-radius: 20px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(75, 78, 109, 0.3);
}

.form-group-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-control {
    margin-bottom: 1.5rem;
}

.form-control label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-control input,
.form-control textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(75, 78, 109, 0.4);
    border-radius: 10px;
    background-color: rgba(75, 78, 109, 0.1);
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.form-control input:focus,
.form-control textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(132, 220, 198, 0.25);
}

.form-control button {
    background-color: var(--primary);
    color: var(--background);
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.form-control button:hover {
    background-color: #70c9b4;
    /* Slightly darker Tiffany Blue */
}

.map-section {
    padding: 0 5% 3rem;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.responsive-map {
    width: 100%;
    height: auto;
    display: block;
}

/* FAQ Section */
.faq-section {
    padding: 3rem 5%;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(75, 78, 109, 0.3);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.2rem;
}

.faq-toggle {
    font-size: 1.2rem;
    transition: var(--transition);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 1000px;
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
}

/* Animations */
.animate-pop {
    animation: pop 1s ease forwards;
}

.animate-slide {
    animation: slide 1s ease forwards;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

.animate-fade {
    opacity: 0;
    animation: fade 1s ease forwards;
    animation-delay: 0.3s;
}

@keyframes pop {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slide {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes fade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: 0;
        top: 70px;
        background-color: rgba(34, 34, 34, 0.95);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 999;
        height: 100vh;
        border-top: 1px solid rgba(75, 78, 109, 0.3);
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .burger {
        display: block;
    }

    .nav-active {
        transform: translateX(0%);
    }

    h1 {
        font-size: 2.5rem;
    }

    .feature-cards {
        flex-direction: column;
        align-items: center;
    }

    .form-group {
        flex-direction: column;
    }

    .form-group input,
    .submit-btn {
        border-radius: 50px;
        width: 100%;
    }

    .form-group input {
        margin-bottom: 1rem;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .portfolio-filter {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Animations for buttons */
.cta-button,
.submit-btn,
.form-control button,
.portfolio-link,
.filter-btn {
    position: relative;
    overflow: hidden;
}

.cta-button::after,
.submit-btn::after,
.form-control button::after,
.portfolio-link::after,
.filter-btn.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::after,
.submit-btn:hover::after,
.form-control button:hover::after,
.portfolio-link:hover::after,
.filter-btn.active:hover::after {
    width: 300%;
    height: 300%;
}

/* Small card accents and details */
.social-icons a,
.info-item i,
.card i,
.quote-icon {
    position: relative;
    z-index: 1;
}

.social-icons a::before,
.card i::before,
.quote-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(132, 220, 198, 0.3), transparent 70%);
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icons a:hover::before,
.card:hover i::before,
.quote-icon:hover::before {
    opacity: 1;
}

/* Add subtle letter spacing to headers for modern look */
h1,
h2,
h3,
.logo {
    letter-spacing: 1px;
}

/* Add subtle transitions to all interactive elements */
a,
button,
.card,
.service-card,
.portfolio-item {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Add subtle gradient tint to background */
body {
    font-family: 'Poppins', sans-serif;
    background: var(--background);
    background-image:
        radial-gradient(circle at top right, rgba(75, 78, 109, 0.15), transparent 60%),
        radial-gradient(circle at bottom left, rgba(132, 220, 198, 0.1), transparent 60%);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Add subtle floating animation to icons */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0px);
    }
}

.service-icon i {
    font-size: 3rem;
    color: var(--primary);
    position: relative;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

/* Add focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

/* Improve active state for navigation */
.nav-links a.active {
    color: var(--primary);
}

/* Enhance form button */
.form-control button {
    background-color: var(--primary);
    color: var(--background);
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}