
/* Hero Section */
:root {
    --hero-blur-amount: 8px;
    --hero-overlay-opacity-start: 0.7;
    --hero-overlay-opacity-end: 0.5;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: blur(var(--hero-blur-amount));
    transform: scale(1.1); /* Prevent blur edges from showing */
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, var(--hero-overlay-opacity-start)), 
        rgba(0, 0, 0, var(--hero-overlay-opacity-end)));
    z-index: 2; /* Increased z-index to appear above blurred background but below content */
}

/* Gunawangsa Hero Layout */
.hero-gunawangsa {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 3; /* Increased z-index to appear above background and overlay */
    gap: 80px;
}

.hero-logo-section {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}


.hero-g-logo {
    width: 400px;
    height: 400px;
    
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 180px;
    font-weight: 800;
    position: relative;
    animation: pulse 3s infinite alternate;
}

.hero-g-logo::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(212, 175, 55, 0.2));
    z-index: -1;
}

.hero-content-section {
    flex: 1;
    text-align: left;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-title-main {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    color: #E7CB98;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.7;
    font-weight: 300;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 16px 32px;
    font-size: 1rem;
    min-width: 200px;
    background: linear-gradient(135deg, #8B0000, #A52A2A);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

.hero-btn:hover {
    background: linear-gradient(135deg, #A52A2A, #DC143C);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.5);
    color: white;
}

.hero-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.hero-btn:hover i {
    transform: translateX(3px);
}

/* Hero Variations */
.hero-centered {
    text-align: center;
}

.hero-centered .hero-gunawangsa {
    flex-direction: column;
    text-align: center;
    gap: 40px;
}

.hero-centered .hero-content-section {
    text-align: center;
}

.hero-minimal {
    min-height: 60vh;
    background: linear-gradient(135deg, #8b0000, #a00000);
}



/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.section-sm {
    padding: 60px 0;
}

.section-lg {
    padding: 120px 0;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 4rem;
    color: #333;
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #8b0000, #D4A853);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.section-dark {
    background: #222;
    color: white;
}

.section-dark .section-title {
    color: white;
}

.section-gray {
    background: #f8f9fa;
}

.section-gradient {
    background: linear-gradient(135deg, #8b0000, #a00000);
    color: white;
}

.section-gradient .section-title {
    color: white;
}

/* Enhanced Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.row-no-gutters {
    margin: 0;
}

.row-no-gutters .col {
    padding: 0;
}

.col {
    padding: 0 15px;
    flex: 1;
    min-width: 0; /* Prevent flex items from overflowing */
}

/* Standard Grid Columns */
.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

/* Auto Grid System */
.col-auto {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
}

/* CSS Grid Alternative */
.grid {
    display: grid;
    gap: 30px;
}

.view-all-about-btn {
    display: inline-block;
    background-color: #F0AD4E;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.25rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.grid-1 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

.grid-auto {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-auto-sm {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.grid-auto-lg {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Enhanced Cards */
.card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    overflow: hidden;
    border: 1px solid #e9ecef;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8b0000, #D4A853);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.card:hover::before {
    opacity: 1;
}

.card-header {
    padding: 25px 30px 20px;
    background: linear-gradient(135deg, #8b0000, #a00000);
    color: white;
    position: relative;
}

.card-body {
    padding: 30px;
}

.card-footer {
    padding: 20px 30px;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: inherit;
}

.card-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.card-img-top {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Card Variations */
.card-minimal {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.card-minimal:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card-dark {
    background: #333;
    color: white;
    border-color: #444;
}

.card-dark .card-text {
    color: #ccc;
}

.card-outline {
    background: transparent;
    border: 2px solid #8b0000;
}

.card-outline:hover {
    background: #8b0000;
    color: white;
}

.card-gradient {
    background: linear-gradient(135deg, #8b0000, #a00000);
    color: white;
    border: none;
}

.card-gradient .card-text {
    color: rgba(255, 255, 255, 0.9);
}

/* Enhanced Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}













@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Hero Responsive Design */
@media (max-width: 1024px) {
    .hero-gunawangsa {
        gap: 60px;
        padding: 0 30px;
    }
    
    .hero-g-logo {
        width: 450px;
        height: 450px;
        font-size: 150px;
    }
    .hero-btn{
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .hero-gunawangsa {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 0 20px;
    }
    
    .hero-logo-section {
        order: 1;
    }
    
    .hero-content-section {
        order: 2;
        text-align: center;
    }
    
    .hero-g-logo {
        width: 200px;
        height: 200px;
        font-size: 120px;
    }
    
    .hero-title-main {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        margin-bottom: 2rem;
    }
    
    .hero-cta {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 90vh;
    }
    
    .hero-gunawangsa {
        padding: 0 15px;
        gap: 30px;
    }
    
    .hero-g-logo {
        width: 300px;
        height: 300px;
    }
    
    .hero-title-main {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: clamp(0.85rem, 2.5vw, 1rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-btn {
        padding: 14px 28px;
        font-size: 0.9rem;
    }
}

/* Groups Section - Matching the provided screenshot exactly */
.groups-section {
    padding: 60px 0 80px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 450px;
}

.groups-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7); /* Solid dark overlay like in the image */
    z-index: 1;
}

.groups-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
    width: 100%;
}

.groups-title {
    font-size: 3rem;
    margin-bottom: 3.5rem;
    font-weight: 600;
    color: white;
    text-align: center;
    letter-spacing: 1px;
}

.groups-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px 30px; /* vertical gap 40px, horizontal gap 30px */
    flex-wrap: wrap;
    margin-bottom: 3rem;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

.group-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    width: 120px;
    margin: 0 10px;
}

.group-logo-container {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    background: #2E3A4D; /* Exact dark blue-gray background color from screenshot */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.group-logo-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.35);
}

.group-logo {
    width: 70%;
    height: 70%;
    object-fit: contain;
    transition: transform 0.3s ease;
    max-width: 80px;
    max-height: 80px;
    filter: brightness(1.05); /* Slightly brighten logos for better visibility */
}

.group-name {
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
    margin-top: 8px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.group-item:hover .group-name {
    color: #FFD700;
}

.groups-more-container {
    text-align: center;
    margin-top: 30px;
}

.groups-more-btn {
    background: #FFD700;
    color: #000;
    padding: 8px 30px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.groups-more-btn:hover {
    background: #E5C100;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    color: #000;
}

.group-item:hover .group-name {
    color: #FFD700;
}

/* Set uniform background color for all logo containers to match the image */
.group-logo-container {
    background: #2E3A4D; /* Consistent dark blue-gray background like in the screenshot */
}

/* Add a subtle 3D effect with inner shadow */
.group-logo-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    pointer-events: none;
}

/* Groups Section Responsive Styles */
@media (max-width: 992px) {
    .groups-grid {
        gap: 25px 40px;
    }
    
    .group-logo-container {
        width: 100px;
        height: 100px;
    }
    
    .group-item {
        width: 120px;
    }
}

@media (max-width: 768px) {
    .groups-section {
        padding: 50px 0 70px;
    }
    
    .groups-title {
        font-size: 2.5rem;
        margin-bottom: 2.5rem;
    }
    
    .groups-grid {
        gap: 20px 30px;
    }
    
    .group-logo-container {
        width: 90px;
        height: 90px;
        margin-bottom: 12px;
    }
    
    .group-item {
        width: 105px;
        margin: 0 5px;
    }
}

@media (max-width: 600px) {
    .groups-grid {
        gap: 20px;
        max-width: 400px;
    }
    
    .group-logo-container {
        width: 85px;
        height: 85px;
    }
    
    .group-item {
        width: 90px;
    }
}

@media (max-width: 480px) {
    .groups-grid {
        gap: 15px;
    }
    
    .group-logo-container {
        width: 75px;
        height: 75px;
    }
    
    .group-item {
        width: 80px;
        margin: 0 3px;
    }
    
    .group-name {
        font-size: 0.65rem;
    }
    
    .groups-more-btn {
        padding: 7px 25px;
        font-size: 0.75rem;
    }
}

/* Our Business Section - Matching the provided image */
.our-business-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
}

.our-business-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.our-business-title {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #8B0000;
    font-weight: 600;
    margin-bottom: 60px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.our-business-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #8B0000, #D4A853);
    border-radius: 2px;
}

.business-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    justify-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.business-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    width: 100%;
    max-width: 380px;
    height: 280px;
    cursor: pointer;
}

.business-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.business-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #8B0000, #D4A853);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.business-card-modern:hover::before {
    opacity: 1;
}

.business-card-image-container {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: #f8f9fa;
}

.business-card-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.business-card-modern:hover .business-card-image-container img {
    transform: scale(1.05);
}

.business-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.business-card-modern:hover .business-card-overlay {
    opacity: 1;
}

.business-card-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
}

.business-card-modern:hover .business-card-icon {
    background: #FFD700;
    transform: scale(1.1);
}

.business-card-icon i {
    font-size: 24px;
    color: #8B0000;
}

.business-card-content {
    padding: 25px 30px;
    height: 100px;
    display: flex;
    align-items: center;
    background: white;
    position: relative;
}

.business-card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.business-card-modern:hover .business-card-title {
    color: #8B0000;
}

.business-card-subtitle {
    font-size: 1rem;
    color: #666;
    margin-top: 5px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.business-card-modern:hover .business-card-subtitle {
    color: #D4A853;
}

/* Enhanced styles for better matching the provided image */
.business-card-modern a {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    width: 100%;
    height: 100%;
}

.business-card-modern a:hover {
    text-decoration: none !important;
    color: inherit !important;
}

/* Overlay text styling to match the image */
.overlay-content .overlay-text {
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Icon positioning and styling refinements */
.business-card-icon {
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Card title styling to match the image */
.business-card-title {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
}

/* Ensure smooth transitions for all interactive elements */
.business-card-modern * {
    transition: all 0.3s ease;
}

/* Special styling for the cards when they are links */
a.business-card-modern {
    display: block;
    transition: all 0.4s ease;
}

a.business-card-modern:hover {
    text-decoration: none;
}

/* Remove any default link styling that might interfere */
a.business-card-modern,
a.business-card-modern:visited,
a.business-card-modern:focus,
a.business-card-modern:active {
    color: inherit;
    text-decoration: none;
}

/* Enhanced shadow effects for the modern look */
.business-card-modern {
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.business-card-modern:hover {
    border-color: rgba(139, 0, 0, 0.1);
}

/* Custom animations for business cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleX {
    from {
        opacity: 0;
        transform: scaleX(0);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes shake {
  0% { transform: translateY(0) rotate(0deg); }
  10% { transform: translateY(-2px) rotate(-2deg); }
  20% { transform: translateY(2px) rotate(2deg); }
  30% { transform: translateY(-2px) rotate(-2deg); }
  40% { transform: translateY(2px) rotate(2deg); }
  50% { transform: translateY(-1px) rotate(-1deg); }
  60% { transform: translateY(1px) rotate(1deg); }
  70% { transform: translateY(-1px) rotate(-1deg); }
  80% { transform: translateY(1px) rotate(1deg); }
  90% { transform: translateY(-1px) rotate(-1deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

@keyframes floating {
  0% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
  100% { transform: translateY(0); }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
}

.animate-scale-x {
    animation: scaleX 0.6s ease-out forwards;
}

.animate-shake {
  animation: shake 1.2s infinite;
}

.animate-floating {
  animation: floating 3s ease-in-out infinite;
}

/* Additional hover effects */
.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.business-card:hover::before {
    transform: translateX(100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .business-card-container {
        animation-delay: 0.1s !important;
    }
}

.dev-title-fixed-height {
  min-height: 3.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.dev-content-fixed-height {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 100%;
}

/* Typing cursor effect */
.typing-cursor {
  display: inline-block;
  width: 1ch;
  color: #BD1921;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

  /* Force 3 columns for md (iPad landscape) and lg (desktop) */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .col-md-4, .col-lg-2 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}
    .business-card {
        position: relative;
        border-radius: 1rem;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .business-card {
      min-height: 280px; /* Ubah sesuai kebutuhan, misal 300px */
      position: relative;
      overflow: hidden;
      border-radius: 12px;
    }
    .business-card:hover {
        transform: scale(1.03);
        box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.2);
    }

    .business-card img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        transition: transform 0.5s ease;
    }

    .business-card:hover img {
        transform: scale(1.1);
    }

    .business-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.2), transparent);
    }

    .business-content {
        position: absolute;
        bottom: 0;
        color: white;
        padding: 1rem;
    }

    .business-icon {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: rgba(255,255,255,0.2);
        backdrop-filter: blur(5px);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.4s ease;
    }

    .business-card:hover .business-icon {
        opacity: 1;
        transform: translateY(0);
    }

    .business-description {
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.4s ease;
    }

    .business-card:hover .business-description {
        opacity: 1;
        transform: translateY(0);
    }

    .underline-hover {
        height: 2px;
        width: 0;
        background-color: #fbbf24;
        transition: width 0.4s ease;
        margin-top: 0.3rem;
    }

    .business-card:hover .underline-hover {
        width: 100%;
    }

    .business-title {
        font-weight: bold;
        font-size: 1.2rem;
    }
    .about-us-section {
  background-color: #7C0A02; /* Maroon */
  position: relative;
  overflow: hidden;
}

.about-us-section::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: inherit;
  transform: skewY(-2deg);
  transform-origin: top left;
}
.dev-card2 {
  width: 260px;
  transition: transform 0.3s ease;
}

.dev-card2:hover {
  transform: translateY(-5px);
}


.dev-img-wrapper {
  height: 320px;
  position: relative;
  overflow: hidden;
}

.transition-scale {
  transition: transform 0.4s ease;
}

.transition-scale:hover {
  transform: scale(1.05);
}

@media (max-width: 991px) {
  .dev-card2 {
    width: 40%;
  }
}

@media (max-width: 576px) {
  .dev-card2 {
    width: 70%;
  }
}

/* Enhanced Hover Effects for Groups Section */

/* Base styles for group items */
.group-hover-link {
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Circle container hover effects */
.group-hover-circle {
    width: 130px;
    height: 130px;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

/* Hover effects for the entire group item */
.group-hover-link:hover {
    transform: translateY(-8px) scale(1.05);
}

.group-hover-link:hover .group-hover-circle {
    transform: rotateY(10deg) rotateX(5deg);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 3px rgba(231, 203, 152, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    border-color: #E7CB98;
}

/* Image hover effects */
.group-hover-circle img {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(0.9) contrast(1.1);
}

.group-hover-link:hover .group-hover-circle img {
    transform: scale(1.1) rotate(2deg);
    filter: brightness(1.1) contrast(1.2) saturate(1.2);
}

/* Text hover effects */
.group-hover-link .text-white {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.group-hover-link:hover .text-white {
    color: #E7CB98 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* Glowing effect on hover */
.group-hover-circle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(231, 203, 152, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
    z-index: 1;
}

.group-hover-link:hover .group-hover-circle::before {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out infinite;
}

/* Shimmer animation */
@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    50% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Pulse effect for the border */
.group-hover-circle::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: all 0.4s ease;
    opacity: 0;
}

.group-hover-link:hover .group-hover-circle::after {
    border-color: #E7CB98;
    opacity: 1;
    animation: pulse-border 2s ease-in-out infinite;
}

@keyframes pulse-border {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.7;
    }
}

/* Active/Focus states for accessibility */
.group-hover-link:focus,
.group-hover-link:active {
    outline: 2px solid #E7CB98;
    outline-offset: 4px;
}

.group-hover-link:focus .group-hover-circle,
.group-hover-link:active .group-hover-circle {
    transform: scale(0.95);
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.2),
        inset 0 0 15px rgba(231, 203, 152, 0.2);
}

/* Staggered animation delay for multiple items */
.group-hover-link:nth-child(1) { transition-delay: 0s; }
.group-hover-link:nth-child(2) { transition-delay: 0.05s; }
.group-hover-link:nth-child(3) { transition-delay: 0.1s; }
.group-hover-link:nth-child(4) { transition-delay: 0.15s; }
.group-hover-link:nth-child(5) { transition-delay: 0.2s; }
.group-hover-link:nth-child(6) { transition-delay: 0.25s; }

/* Responsive hover effects */
@media (max-width: 768px) {
    .group-hover-link:hover {
        transform: translateY(-4px) scale(1.02);
    }
    
    .group-hover-link:hover .group-hover-circle {
        transform: scale(1.05);
    }
}

/* Disable hover effects on touch devices to prevent sticky hover */
@media (hover: none) and (pointer: coarse) {
    .group-hover-link:hover {
        transform: none;
    }
    
    .group-hover-link:hover .group-hover-circle {
        transform: none;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
    
    .group-hover-link:hover .group-hover-circle img {
        transform: none;
        filter: brightness(0.9) contrast(1.1);
    }
    
    .group-hover-link:hover .text-white {
        color: white !important;
        text-shadow: none;
        transform: none;
    }
    
    /* Instead, use active state for touch feedback */
    .group-hover-link:active {
        transform: scale(0.95);
    }
}


