@font-face {
    font-family: 'Aeonik Trial';
    src: url("fonts/aeoniktrial-regular.otf") format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Aeonik Trial';
    src: url("fonts/aeoniktrial-bold.otf") format('opentype');
    font-weight: 700;
    font-style: normal;
}
html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Aeonik Trial', sans-serif;
    background: rgba(10, 10, 10, 1);
    max-width: 100%;
    overflow-x: hidden;
      overflow-y: auto;
    color: rgba(255, 255, 255, 1);
    height: 100vh;
}
/*-------------- header section ------------- */

.top-section {
    background: #1D1D1D;
    clip-path: ellipse(100% 100% at 45% 0%);
    width: 100%;
    min-height: 350px;
    padding: 20px 20px 0px;
    text-align: center;
    position: relative;  
}
.top-section h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
}

.labels-container {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    gap: 50px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.left-label,
.right-label {
    max-width: 45%;
}

.label-text {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(220, 220, 220, 1);
    white-space: nowrap;
}

.label-highlight {
    font-size: 3rem;
    font-weight: 700;
    color: #ff3b3b;
    white-space: nowrap;
    margin-top: 5px;
}

.social-icons-grid img.icon {
    position: absolute;
    width: 8vw;
    max-width: 119px;
    height: auto;
    animation: floatY 2s ease-in-out infinite alternate;
}

@keyframes floatY {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Individual icon positions using % for responsiveness */
.social-icons-grid .whatsapp {
    top: 5%;
    left: 11%;
}

.social-icons-grid .instagram {
    top: 20%;
    right: 12%;
}

.social-icons-grid .linkedin {
    bottom: 25%;
    left: 6%;
}

.social-icons-grid .facebook {
    bottom: 18%;
    right: 8%;
}


/*-------------------------- Profile Card and social card section  ------------------- */

.profile-card {
    background: #1a1a1a;
    border-radius: 23px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 345px;   /* Fixed width */
    width: 90%;
    max-width: 360px;
    height: 100%;       /* Matches social cards area height */
    box-sizing: border-box;
    box-shadow: 0px 1px 1px 0.2px rgba(255, 255, 255, 0.8);
    margin-left: 10px;
}

/* Card Header: Logo + Text */
.card-header {
    display: flex;
    align-items: center;
    gap: 20px; /* space between logo and text */
    justify-content: flex-start !important; 
    padding-right: 50px;
}

.profile-logo {
    width: 66px;
    height: 66px; 
    object-fit: contain;
}
.header-text h4 {
    margin: 5px !important;
    font-size: 20px;
    font-weight: 700;
    color: rgba(255, 255, 255, 1) !important;
}
.header-text span {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 85, 85, 1) !important;
}
.card-body p {
    margin-top: 10;
    padding: 1px;
    font-size: 16px;
    font-weight: 400;
    color: rgba(174, 174, 174, 1) !important;
}

.btn-group {
    display: flex;
    gap: 10px;
    padding: 10px;
    justify-content: center;
    text-align: right;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.apply-btn {
    background: #ff3b3b;
    padding: 8px 10px !important;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    font-size: 1rem !important;
    border: 2px solid transparent; 
    
}

.apply-btn:hover {
    background: #e62e2e;
    box-shadow: 0px 7px 1.4px 0px rgba(0, 0, 0, 1);
    transform: translateY(-4px);
}

.website-btn {
    background: #fff;
    color:#ff3b3b !important;
    padding: 8px 10px !important;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    font-size: 1rem !important;
    border: 2px solid transparent; 

}

.website-btn:hover {
    background: none;
    border: 2px solid #fff;
}
.apply-btn i,
.website-btn i {
    margin-right: 8px; 
    color: inherit;  
}

/*-------------------- Social cards container: responsive grid------------------- */

.social-grid {
    display: grid;
    grid-template-columns: 375px 1fr;
    align-items: stretch;
    gap: 30px;
    padding: 40px;
    margin-top: 15px;
}

.social-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Always 3 columns */
    gap: 12px; 
    justify-items: center;  
    width: 100%;
    margin-left: -20px;

}
.card {
    background: #1a1a1a;
    border-radius: 23px;
    padding: 0px 15px 0px 15px ;  
    display: flex;
    align-items: center;  
    gap: 20px;  
    width: 100%;
    max-width: 300px; 
    min-height: 120px;
    box-sizing: border-box;
    text-decoration: none;
    position: relative; 
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.card:hover {
    box-shadow: 0 1px 4px rgba(157, 157, 157, 1); 
    
}

/* Logo on left */
.card-logo {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    object-fit: contain;
}

/* Text area (h4 + span stacked) */
.card-text {
    display: flex;
    flex-direction: column; 
    justify-content: center;
    /* gap: 5px; */
}

/* Heading */
.card h4 {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 700;
    color: rgba(174, 174, 174, 1);
}

/* Subtext */
.card span {
    font-size: 0.95rem;
    color: rgba(174, 174, 174, 1);
}
.card:hover .card-logo {
    transform: rotate(15deg);
  }

.arrow-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 20px;
    height: 20px;
    opacity: 0; 
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.card:hover .arrow-icon {
    opacity: 1;  
    transform: translateX(5px);
}

/* Footer Text */
.footer-text {
    margin-top: 2%;
    font-weight: 800;
    font-style: normal; 
    font-size: clamp(4rem, 14vw, 13.25rem);
    line-height: 1; 
    letter-spacing: 0;
    text-align: center;
    text-transform: uppercase;
    /* Figma Gradient */
    background: linear-gradient(180deg, rgba(90, 88, 88, 0.911) 0%, black 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; 
    color: transparent;
    /* letter-spacing: 3px; */
}


/* ---------------------Responsive ---------------------------------*/


/* Tablets (width <= 1024px) */
@media (max-width: 1024px) {
    .labels-container {
        gap: 30px;
        padding: 0 15px;
    }

    .left-label,
    .right-label {
        max-width: 100%;
    }

    .social-grid {
        grid-template-columns: 1fr; 
        padding: 40px;
        margin-top: 30px;
    }

    .profile-card {
        margin-left: auto;
        margin-right: auto;
    }

    .social-icons-grid img.icon {
        width: 15vw;
        max-width: 100px;
    }
     .social-icons-grid .instagram {
        top: 25%;
        right: 10%;
    }

    .social-icons-grid .linkedin {
        bottom: 10%;
        left: 0%;
    }

    .social-icons-grid .facebook {
        bottom: 0%;
        right: 16%;
    }
    
}
@media(max-width :768px){
    .label-highlight{
        font-size: 35px;
    }
    .label-text{
        font-size: 16px;
    }
    .social-icons-grid .whatsapp {
        top: 20%;
        left: 10%;
    }

    .social-icons-grid .instagram {
        top: 25%;
        right: 10%;
    }

    .social-icons-grid .linkedin {
        bottom: 15%;
        left: 5%;
    }

    .social-icons-grid .facebook {
        bottom: 15%;
        right: 5%;
    }
    
    .social-grid {
        grid-template-columns: 1fr; /* single column for tablet */
        padding: 20px;
        margin-top: 30px;
    }

    .profile-card {
        margin-left: auto;
        margin-right: auto;
    }

    .social-icons-grid img.icon {
        width: 15vw;
        max-width: 100px;
    }
    .social-grid {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }

    .social-cards-container {
        grid-template-columns: 1fr;
        margin-left: 0;
    }

    .profile-card {
        width: 95%;
        max-width: 100%;
        margin-left: 0;
    }

    .card {
        max-width: 100%;
        width: 95%;
        margin-right: 20px;
    }

    .card-header {
        flex-direction: row;
        justify-content: flex-start;
        padding-right: 0;
    }
}
/* Mobile Devices (width <= 767px) */
@media (max-width: 767px) {
    .top-section h2 {
        font-size: 28px;
    }

    .labels-container {
        flex-direction: column;
        gap: 20px;
    }

    .left-label,
    .right-label {
        max-width: 100%;
        text-align: center;
    }

    .label-text {
        font-size: 15px;
    }

    .label-highlight {
        font-size: 36px;
    }

    .social-grid {
        grid-template-columns: 1fr; /* single column for mobile */
        padding: 1px;
        margin-top: 20px;
        
    }

    .profile-card {
        max-width: 100%;
        margin: 0 auto;
        padding: 10px;
    }

    .btn-group {
        flex-direction: column;
        gap: 10px;
        padding: 0px;
    }

    .social-cards-container {
        grid-template-columns: 1fr; /* all social cards in 1 column */
        gap: 20px;
        padding: 10px;
        width : 98%;
    }

    .social-icons-grid img.icon {
        width: 20vw;
        max-width: 80px;
    }

    .footer-text {
        font-size: 6.5rem; /* smaller for mobile */
        letter-spacing: 4px;
    }
    .social-icons-grid .whatsapp {
        top: 5%;
        left: 10%;
    }

    .social-icons-grid .instagram {
        top: 4%;
        right: 10%;
    }

    .social-icons-grid .linkedin {
        bottom: 15%;
        left: 5%;
    }

    .social-icons-grid .facebook {
        bottom: 15%;
        right: 5%;
    }
}

/* Extra Small Devices (width <= 480px) */
@media (max-width: 480px) {
    .top-section h2 {
        font-size: 24px;
    }

    .label-highlight {
        font-size: 28px;
    }

    .btn-group a {
        font-size: 16px;
        padding: 8px 16px;
    }

    .footer-text {
        font-size: 3rem;
    }
    .social-icons-grid .whatsapp {
        top: 21%;
        left: 10%;
    }

    .social-icons-grid .instagram {
                top: 25%;
        right: 14%;
    }

    .social-icons-grid .linkedin {
        bottom: 25%;
        left: 5%;
    }

    .social-icons-grid .facebook {
        bottom: 25%;
        right: 8%;
    }
    .svg-container svg {
        width: 70%;
        margin-top: -25px;
    }
}
@media (width: 540px){
    .social-icons-grid .whatsapp {
        top: 25%;
        left: 10%;
    }

    .social-icons-grid .instagram {
        top: 25%;
        right: 10%;
    }

    .social-icons-grid .linkedin {
        bottom: 25%;
        left: 5%;
    }

    .social-icons-grid .facebook {
        bottom: 25%;
        right: 8%;
    }
    .svg-container svg {
        width: 70%;
        margin-top: -25px;
    }
    .footer-text{
        font-size: 4.5rem;
    }
}
