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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    color: #1f2937;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.background-decorations {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.gray-circle {
    position: absolute;
    top: -160px;
    right: -160px;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background-color: #f3f4f6;
    opacity: 0.5;
}

.wave-pattern {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
}

.red-dot-top {
    position: absolute;
    top: 80px;
    right: 80px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #dc2626;
}

.red-dot-bottom {
    position: absolute;
    bottom: 160px;
    left: 48px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #dc2626;
}

/* ============================================
   Main Container
   ============================================ */

.container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    max-height: 100vh;
    padding: 20px 16px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .container {
        padding: 32px 16px;
    }
}

/* ============================================
   Profile Section
   ============================================ */

.profile-section {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-circles {
    position: relative;
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashed-circle {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 4px dashed #dc2626;
}

.solid-circle {
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    border: 4px solid #dc2626;
}

.profile-image {
    position: relative;
    width: 225px;
    height: 225px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(220, 38, 38, 0.1);
}

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

.red-triangle {
    position: absolute;
    top: -24px;
    right: -24px;
    width: 0;
    height: 0;
    border-left: 32px solid transparent;
    border-right: 32px solid transparent;
    border-bottom: 56px solid #dc2626;
}

/* ============================================
   Title Section
   ============================================ */

.title-section {
    text-align: center;
    padding: 25px 0px 25px 0px;
}

h1 {
    font-size: 48px;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 12px;
    line-height: 1.2;
}

@media (min-width: 768px) {
    h1 {
        font-size: 56px;
    }
}

h2 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    text-align: center;
}

@media (min-width: 768px) {
    h2 {
        font-size: 24px;
    }
}

/* ============================================
   Content Section
   ============================================ */

.content-section {
    max-width: 896px;
    /* padding: 25px 0px 25px 0px; */
    /* margin: 0 auto 48px; */
    /* background-color: #f9fafb; */
    /* border-radius: 8px; */
    /* padding: 32px; */
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); */
}

/* @media (min-width: 768px) {
    .content-section {
        padding: 64px;
    }
} */

.content-section p {
    text-align: center;
    color: #374151;
    line-height: 1.8;
    margin-bottom: 32px;
    font-size: 16px;
}

@media (min-width: 768px) {
    .content-section p {
        font-size: 18px;
    }
}

.content-section p:last-child {
    margin-bottom: 0;
    font-weight: 700;
    color: #dc2626;
    font-size: 18px;
}

@media (min-width: 768px) {
    .content-section p:last-child {
        font-size: 20px;
    }
}

.highlight {
    font-weight: 700;
    color: #dc2626;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    margin: 20px 0px 20px 0px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 24px 38px;
    border-radius: 8px;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-width: 180px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background-color: #dc2626;
    color: #f3f4f6;
}

.btn-primary:hover {
    background-color: #f3f4f6;
    color: #374151;
}

.btn-whatsapp {
    background-color: #dc2626;
    color: #f3f4f6;
}

.btn-whatsapp:hover {
    background-color: #f3f4f6;
    color: #374151;
}

/* ============================================
   Logo Section
   ============================================ */

.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 20px 0px 20px 0px;
    flex-wrap: wrap;
}

.bni-logo {
    width: 130px;
    /* margin-left: 20px; */
    margin-right: 0px;
    height: auto;
}

.mattina-logo {
    width: 240px;
    /* margin-left: 30px; */
    height: auto;
}

/* ============================================
   Social Media Section
   ============================================ */

.social-media {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    justify-content: center;
}

.social-media i {
    display: flex;
    justify-content: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #f3f4f6;
    color: #374151;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-link.insta:hover {
    background: #dc2626;
    color: white;
}

.social-link.linkedin:hover {
    background-color: #dc2626;
    color: white;
}

.social-link.whats:hover {
    background-color: #dc2626;
    color: white;
}

/* ============================================
   Responsive Adjustments (Mobile Only)
   ============================================ */

/* Small devices (max-width: 768px) - MOBILE ONLY */
@media (max-width: 768px) {
    .cta-buttons {
        flex-wrap: nowrap;
        /* padding: 10px; */
        margin: 10px 0px 10px 0px;
    }

    .btn {
        font-size: 14px;
        padding: 12px 24px;
    }

    .container {
        padding: 16px 12px;
        height: auto;
        min-height: 100vh;
    }

    .profile-section {
        margin-bottom: 12px;
    }

    .profile-circles {
        width: 160px;
        height: 160px;
    }

    .profile-image {
        width: 140px;
        height: 140px;
    }

    .dashed-circle {
        width: 160px;
        height: 160px;
    }

    .solid-circle {
        width: 140px;
        height: 140px;
    }

    .red-triangle {
        top: -16px;
        right: -16px;
        border-left: 20px solid transparent;
        border-right: 20px solid transparent;
        border-bottom: 40px solid #dc2626;
    }

    /* .title-section {
        margin-bottom: 8px;
    } */

    h1 {
        font-size: 28px;
        margin-bottom: 6px;
    }

    h2 {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .content-section {
        max-width: 100%;
        margin: 0 auto 8px;
        padding: 14px 16px;
        border-radius: 8px;
    }

    .content-section p {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 8px;
    }

    .content-section p:last-child {
        margin-bottom: 0;
    }

    .logo-section {
        margin-top: 8px;
        display: flex;
        gap: 12px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .bni-logo {
        width: 110px;
        height: auto;
    }

    .mattina-logo {
        width: 130px;
        height: auto;
    }

    .social-media {
        gap: 10px;
        margin-top: 8px;
    }

    .social-link {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .gray-circle {
        width: 800px;
        height: 800px;
        top: -120px;
        right: -120px;
    }

    .wave-pattern {
        height: 160px;
    }
}

/* Extra small devices (max-width: 480px) - SMALL MOBILE */
@media (max-width: 480px) {
    .container {
        padding: 12px 8px;
    }

    .profile-circles {
        width: 130px;
        height: 130px;
    }

    .profile-image {
        width: 115px;
        height: 115px;
    }

    .dashed-circle {
        width: 130px;
        height: 130px;
    }

    .solid-circle {
        width: 110px;
        height: 110px;
    }

    .red-triangle {
        top: -14px;
        right: -14px;
        border-left: 16px solid transparent;
        border-right: 16px solid transparent;
        border-bottom: 32px solid #dc2626;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 16px;
    }

    .content-section {
        padding: 10px 12px;
    }

    .content-section p {
        font-size: 16px;
    }

    .bni-logo {
        width: 90px;
    }

    .mattina-logo {
        width: 170px;
    }

    .social-link {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .gray-circle {
        width: 300px;
        height: 300px;
        top: -100px;
        right: -100px;
    }

    .wave-pattern {
        height: 140px;
    }
}

/* Landscape orientation fix */
@media (max-height: 600px) and (orientation: landscape) {
    .container {
        padding: 10px 16px;
        height: auto;
        min-height: auto;
    }

    .profile-circles {
        width: 100px;
        height: 100px;
    }

    .profile-image {
        width: 90px;
        height: 90px;
    }

    h1 {
        font-size: 18px;
        margin-bottom: 2px;
    }

    h2 {
        font-size: 9px;
        margin-bottom: 4px;
    }

    .content-section {
        padding: 8px 12px;
    }

    .content-section p {
        font-size: 11px;
        margin-bottom: 4px;
    }

    .logo-section {
        margin-top: 6px;
    }

    .social-media {
        gap: 8px;
        margin-top: 6px;
    }
}

/* ============================================
   Animations and Transitions
   ============================================ */
/* ============================================
   Animations and Transitions
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-section {
    animation: fadeIn 0.8s ease-out;
}

.title-section {
    animation: slideInUp 0.8s ease-out 0.2s both;
}
/* 
.content-section {
    animation: slideInUp 0.8s ease-out 0.4s both;
} */

.logo-section {
    animation: slideInUp 0.8s ease-out 0.6s both;
}

/* ============================================
   Hover Effects
   ============================================ */

.profile-image {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(220, 38, 38, 0.15);
}

.content-section {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* .content-section:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
} */

.bni-logo {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.bni-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(220, 38, 38, 0.2));
}

.mattina-logo {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.mattina-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(220, 38, 38, 0.2));
}

/* ============================================
   Accessibility
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   Print Styles
   ============================================ */

@media print {
    .background-decorations {
        display: none;
    }

    body {
        background-color: white;
    }

    .container {
        min-height: auto;
        padding: 20px;
    }
}