/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #2a2a2a;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.header {
    width: 100%;
    background-color: #2a2a2a;
    z-index: 1000;
    padding: 1rem 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo a {
    text-decoration: none;
}

.nav-logo .logo {
    height: 120px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #fe292a;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fe292a;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: left;
}

.hero-title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.highlight {
    background-color: #fe292a;
    color: #ffffff;
    padding: 0.02em 0.03em;
    font-weight: 400;
}

.hero-description {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #fe292a;
    border-color: #fe292a;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    text-align: center;
    width: 100%;
}

.hero-img {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    object-fit: cover;
}

/* Services Preview Section */
.services-preview {
    background-color: #fe292a;
    padding: 80px 0;
}

.section-intro {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    line-height: 1.3;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.intro-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #ffffff;
}

.learn-more-link {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 500;
    display: block;
    text-align: right;
    margin-top: 2rem;
}

.learn-more-link:hover {
    color: #ffcccc;
}

.services-title {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 3rem;
    text-align: center;
}

.services-title .highlight {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.services-summary {
    margin-top: 4rem;
}

.services-summary-intro {
    font-size: 1.1rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.6;
}

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

.service-summary-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #fe292a;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(254, 41, 42, 0.2);
}

.service-summary-title {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.service-summary-text {
    color: #cccccc;
    line-height: 1.6;
    font-size: 0.95rem;
}

.services-summary-cta {
    text-align: center;
    margin-top: 3rem;
}

.services-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    --white: hsl(0, 0%, 100%);
    --black: hsl(240, 15%, 9%);
    --paragraph: hsl(0, 0%, 83%);
    --line: hsl(240, 9%, 17%);
    --primary: hsl(359, 99%, 58%);

    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    width: 100%;
    background-color: hsla(240, 15%, 9%, 1);
    background-image: radial-gradient(
            at 88% 40%,
            hsla(240, 15%, 9%, 1) 0px,
            transparent 85%
        ),
        radial-gradient(at 49% 30%, hsla(240, 15%, 9%, 1) 0px, transparent 85%),
        radial-gradient(at 14% 26%, hsla(240, 15%, 9%, 1) 0px, transparent 85%),
        radial-gradient(at 0% 64%, hsl(359, 99%, 26%) 0px, transparent 85%),
        radial-gradient(at 41% 94%, hsl(359, 97%, 36%) 0px, transparent 85%),
        radial-gradient(at 100% 99%, hsl(359, 94%, 13%) 0px, transparent 85%);
    border-radius: 1rem;
    box-shadow: 0px -16px 24px 0px rgba(255, 255, 255, 0.25) inset;
}

.card .card__border {
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    z-index: -10;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    background-image: linear-gradient(
        0deg,
        hsl(0, 0%, 100%) -50%,
        hsl(0, 0%, 40%) 100%
    );
    border-radius: 1rem;
}

.card .card__border::before {
    content: "";
    pointer-events: none;
    position: fixed;
    z-index: 200;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%), rotate(0deg);
    transform-origin: left;
    width: 200%;
    height: 10rem;
    background-image: linear-gradient(
        0deg,
        hsla(0, 0%, 100%, 0) 0%,
        hsl(359, 100%, 50%) 40%,
        hsl(359, 100%, 50%) 60%,
        hsla(0, 0%, 40%, 0) 100%
    );
    animation: rotate 8s linear infinite;
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

.card .card_title__container .card_title {
    font-size: 1rem;
    color: var(--white);
}

.card .card_title__container .card_paragraph {
    margin-top: 0.25rem;
    width: 100%;
    font-size: 0.8rem;
    color: var(--paragraph);
}

.card .line {
    width: 100%;
    height: 0.1rem;
    background-color: var(--line);
    border: none;
}

.card .card__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card .card__list .card__list_item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card .card__list .card__list_item .check {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1rem;
    height: 1rem;
    background-color: var(--primary);
    border-radius: 50%;
}

.card .card__list .card__list_item .check .check_svg {
    width: 0.75rem;
    height: 0.75rem;
    fill: var(--black);
}

.card .card__list .card__list_item .list_text {
    font-size: 0.75rem;
    color: var(--white);
}

.card .button {
    cursor: pointer;
    padding: 0.5rem;
    width: 100%;
    background-image: linear-gradient(
        0deg,
        hsl(359, 92%, 58%),
        hsl(359, 99%, 26%) 100%
    );
    font-size: 0.75rem;
    color: var(--white);
    border: 0;
    border-radius: 9999px;
    box-shadow: inset 0 -2px 25px -4px var(--white);
    transition: all 0.3s ease;
}

.card .button:hover {
    background-image: linear-gradient(
        0deg,
        hsl(359, 99%, 26%),
        hsl(359, 92%, 58%) 100%
    );
    transform: translateY(-2px);
}

/* Team Section */
.team {
    padding: 80px 0;
    background-color: #2a2a2a;
}

.team .section-title {
    text-align: center;
    margin-bottom: 4rem;
    color: #ffffff;
}

.team-members {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.team-member:nth-child(even) {
    flex-direction: row-reverse;
}

.team-member:nth-child(even) .member-info {
    text-align: right;
}

.member-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.member-info {
    flex: 1;
}

.member-name {
    font-size: 1.8rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.member-role {
    font-size: 1.1rem;
    color: #fe292a;
    margin-bottom: 1rem;
    font-weight: 500;
}

.member-bio {
    color: #cccccc;
    line-height: 1.7;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    background-color: #1a1a1a;
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    color: #ffffff;
}

/* Footer */
.footer {
    background-color: #ffffff;
    padding: 60px 0 40px;
    border-top: 1px solid #ddd;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.footer-logo a {
    text-decoration: none;
}

.footer-logo .logo {
    height: 120px;
    margin-bottom: 2rem;
}

.footer-description {
    color: #666666;
    line-height: 1.7;
    font-size: 0.9rem;
    max-width: 500px;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-column h4 {
    color: #fe292a;
    margin-bottom: 1rem;
    font-weight: 500;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: #666666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #fe292a;
}

.footer-column p {
    color: #666666;
    margin-bottom: 0.5rem;
}

.footer-column p strong {
    color: #fe292a;
    font-weight: normal;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #2a2a2a;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 80px 20px;
    }

    .hero-image {
        margin-top: 2rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-summary-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .services-card-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-member {
        flex-direction: column !important;
        text-align: center;
    }

    .team-member:nth-child(even) {
        flex-direction: column !important;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .nav {
        padding: 0 15px;
    }

    .container {
        padding: 0 15px;
    }
}

/* Loader Styles */
.loader {
    width: 80px;
    height: 50px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

.loader-text {
    position: absolute;
    top: 0;
    padding: 0;
    margin: 0;
    color: #ffb3b3;
    animation: text_713 3.5s ease both infinite;
    font-size: .8rem;
    letter-spacing: 1px;
}

.load {
    background-color: #fe292a;
    border-radius: 50px;
    display: block;
    height: 16px;
    width: 16px;
    bottom: 0;
    position: absolute;
    transform: translateX(64px);
    animation: loading_713 3.5s ease both infinite;
}

.load::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-color: #ff6666;
    border-radius: inherit;
    animation: loading2_713 3.5s ease both infinite;
}

.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(42, 42, 42, 0.95);
    z-index: 9998;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes text_713 {
    0% {
        letter-spacing: 1px;
        transform: translateX(0px);
    }
    40% {
        letter-spacing: 2px;
        transform: translateX(26px);
    }
    80% {
        letter-spacing: 1px;
        transform: translateX(32px);
    }
    90% {
        letter-spacing: 2px;
        transform: translateX(0px);
    }
    100% {
        letter-spacing: 1px;
        transform: translateX(0px);
    }
}

@keyframes loading_713 {
    0% {
        width: 16px;
        transform: translateX(0px);
    }
    40% {
        width: 100%;
        transform: translateX(0px);
    }
    80% {
        width: 16px;
        transform: translateX(64px);
    }
    90% {
        width: 100%;
        transform: translateX(0px);
    }
    100% {
        width: 16px;
        transform: translateX(0px);
    }
}

@keyframes loading2_713 {
    0% {
        transform: translateX(0px);
        width: 16px;
    }
    40% {
        transform: translateX(0%);
        width: 80%;
    }
    80% {
        width: 100%;
        transform: translateX(0px);
    }
    90% {
        width: 80%;
        transform: translateX(15px);
    }
    100% {
        transform: translateX(0px);
        width: 16px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.service-card,
.team-member {
    animation: fadeInUp 0.8s ease-out;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.4s;
}