/* ==========================================================================
   PT ARSYNDO REKAYASA SINERGI - DESIGN SYSTEM & STYLES
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & THEMING
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette */
    --color-primary: #1A2327;
    /* Deeper Charcoal */
    --color-primary-med: #243137;
    /* Lighter Charcoal for Cards */
    --color-primary-light: #37474F;
    /* Border Charcoal */
    --color-accent-gold: #0F4C81;
    /* Navy Tech Blue (Sinergi) */
    --color-accent-red: #00695C;
    /* Deep Emerald (Rekayasa) */
    --color-accent-red-hover: #004D40;

    /* Backgrounds */
    --bg-dark: #1A2327;
    /* Deeper Charcoal */
    --bg-darker: #141A1D;
    /* Deepest Charcoal for Footer/Inputs */
    --bg-light: #F5F7FA;
    --bg-white: #FFFFFF;
    --bg-card-dark: #243137;
    /* Lighter Charcoal for Cards */
    --bg-card-light: #FFFFFF;

    /* Text Colors (Dark Mode / Charcoal Background) */
    --text-light-highest: #FFFFFF;
    --text-light-high: #ECEFF1;
    --text-light-med: #B0BEC5;

    /* Text Colors (Light Mode / White Background) */
    --text-dark-highest: #20272B;
    --text-dark-high: #2C3E50;
    --text-dark-med: #546E7A;
    --text-dark-light: #78909C;

    /* Transitions & Layout */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    --border-radius: 12px;
    --border-radius-lg: 24px;
    --container-width: 1200px;
    --header-height: 80px;

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.25);
}

/* --------------------------------------------------------------------------
   2. BASE RESET & GENERAL STYLES
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark-high);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-dark-highest);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--color-primary-light);
    border-radius: 5px;
    border: 2px solid var(--color-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent-gold);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 100px 0;
}

.bg-dark {
    background-color: var(--bg-dark);
    color: var(--text-light-high);
}

.bg-dark h2.title {
    color: var(--text-light-highest);
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(135deg, #00897B 0%, #1565C0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-red {
    color: var(--color-accent-red);
}

.text-gold {
    color: var(--color-accent-gold);
}

.text-light {
    color: var(--text-light-highest) !important;
}

.text-dark {
    color: var(--text-dark-highest) !important;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.align-center {
    align-items: center;
}

.divider {
    width: 80px;
    height: 4px;
    background-color: var(--color-accent-red);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

.divider.bg-gold {
    background-color: var(--color-accent-gold);
}

/* Section Headers */
.section-header {
    margin-bottom: 70px;
}

.section-header .subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    color: var(--color-accent-red);
    display: block;
    margin-bottom: 0.75rem;
}

.section-header .title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-accent-red);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
}

.btn-primary:hover {
    background-color: var(--color-accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--bg-white);
    border: 2px solid var(--color-accent-gold);
}

.btn-secondary:hover {
    background-color: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.product-card {
    background-color: var(--bg-card-dark);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 137, 123, 0.2);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: calc(var(--border-radius) - 4px);
    margin-bottom: 1rem;
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.product-card p {
    color: var(--text-light-med);
    margin-bottom: 1rem;
    min-height: 3rem;
}

.product-card .product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-light-med);
    margin-bottom: 1rem;
}

.product-card .product-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.product-card .product-card-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.product-card .btn {
    padding: 0.9rem 1rem;
    font-size: 0.9rem;
    color: var(--text-light-highest);
}

.product-card h3 { color: var(--text-light-highest); }

/* Badges */
.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 30px;
    margin-bottom: 1.5rem;
}

.badge-red {
    background-color: rgba(0, 105, 92, 0.12);
    color: #26A69A;
    /* Vibrant Emerald */
    border: 1px solid rgba(0, 105, 92, 0.25);
}

/* --------------------------------------------------------------------------
   3. PRELOADER ANIMATION
   -------------------------------------------------------------------------- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-darker);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    width: 100%;
    max-width: 400px;
    padding: 2rem;
}

.logo-spinner {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    margin-bottom: 2rem;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid rgba(212, 175, 55, 0.1);
    border-top: 4px solid var(--color-accent-gold);
    border-right: 4px solid var(--color-accent-red);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.logo-text {
    color: var(--text-light-highest) !important;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: 1px;
}

.logo-text .accent-text {
    color: var(--color-accent-gold);
}

.loading-bar {
    width: 100%;
    height: 3px;
    background-color: var(--color-primary-light);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.loading-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent-red) 0%, var(--color-accent-gold) 100%);
    transition: width 0.3s ease;
}

.loading-status {
    font-size: 0.85rem;
    color: var(--text-light-med);
    font-family: 'Inter', sans-serif;
    font-style: italic;
    min-height: 20px;
}

/* --------------------------------------------------------------------------
   4. NAVIGATION / GLASS HEADER
   -------------------------------------------------------------------------- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-sm);
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    height: 70px;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: 0.5px;
    line-height: 1;
}

/* Light background state logos */
.scrolled .logo-brand {
    color: #FFFFFF;
}

.logo-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--color-accent-gold);
    letter-spacing: 2px;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark-high);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent-red);
    /* Deep Emerald */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent-red);
    /* Deep Emerald */
    transition: var(--transition-fast);
}

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

.nav-btn {
    background-color: var(--color-accent-red);
    /* Deep Emerald */
    color: var(--bg-white);
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 105, 92, 0.25);
}

.nav-btn:hover {
    background-color: var(--color-accent-red-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 105, 92, 0.35);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark-highest);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Image Logos Styling */
.brand-logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    background-color: transparent;
    display: block;
    transition: var(--transition-smooth);
}

.scrolled .brand-logo-img {
    height: 44px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
    background-color: #FFFFFF;
    /* Crispy solid white card */
    padding: 6px 12px;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    /* Soft shadow to pop */
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    background-color: var(--bg-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(15, 76, 129, 0.12) 0%, rgba(38, 50, 56, 0) 60%),
        radial-gradient(circle at 10% 80%, rgba(0, 105, 92, 0.10) 0%, rgba(38, 50, 56, 0) 50%);
    z-index: 1;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-content {
    max-width: 800px;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(0, 105, 92, 0.15);
    border: 1px solid rgba(0, 105, 92, 0.3);
    color: #26A69A;
    /* Bright vibrant emerald */
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-badge i {
    animation: heartbeat 1.5s infinite;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    color: var(--text-light-highest);
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light-high);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 3rem;
    margin-top: 2rem;
}

.stat-card {
    background: rgba(36, 49, 55, 0.4);
    /* Charcoal-based transparency */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    border-color: rgba(0, 105, 92, 0.4);
    /* Emerald Green border on hover */
    transform: translateY(-5px);
}

.stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #29B6F6;
    /* Bright vibrant cyan-blue for high contrast */
    line-height: 1;
}

.stat-plus {
    font-size: 2rem;
    font-weight: 800;
    color: #29B6F6;
    /* Bright vibrant cyan-blue */
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light-med);
    margin-top: 0.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   6. PROFIL SECTION
   -------------------------------------------------------------------------- */
.profil-section {
    background-color: var(--bg-white);
}

.profil-text .lead {
    font-size: 1.2rem;
    color: var(--text-dark-highest);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-weight: 500;
}

.profil-text p {
    color: var(--text-dark-med);
    margin-bottom: 2rem;
}

.vision-mission {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vm-card {
    display: flex;
    gap: 1.25rem;
    background-color: var(--bg-light);
    border-left: 4px solid var(--color-accent-red);
    padding: 1.25rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    box-shadow: var(--shadow-sm);
}

.vm-card:nth-child(2) {
    border-left-color: var(--color-accent-gold);
}

.vm-icon {
    font-size: 1.5rem;
    color: var(--color-accent-red);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.vm-card:nth-child(2) .vm-icon {
    color: var(--color-accent-gold);
}

.vm-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--text-dark-highest);
}

.vm-info p {
    font-size: 0.95rem;
    color: var(--text-dark-med);
    margin-bottom: 0;
    line-height: 1.5;
}

/* Features list right column */
.profil-features {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    height: fit-content;
}

.features-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-dark-highest);
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.fi-number {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-accent-gold);
    line-height: 1;
    opacity: 0.8;
}

.fi-content h4 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
    color: var(--text-dark-highest);
}

.fi-content p {
    font-size: 0.9rem;
    color: var(--text-dark-med);
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   7. SOLUTIONS SECTION
   -------------------------------------------------------------------------- */
.solusi-section {
    position: relative;
    overflow: hidden;
}

.solusi-card {
    background-color: var(--bg-card-dark);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.solusi-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.sol-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--color-accent-gold);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.75rem;
    transition: var(--transition-smooth);
}

.solusi-card:hover .sol-icon {
    background-color: var(--color-accent-gold);
    color: var(--bg-dark);
    transform: rotateY(180deg);
}

.solusi-card h3 {
    font-size: 1.35rem;
    color: var(--text-light-highest);
    margin-bottom: 1rem;
}

.solusi-card p {
    font-size: 0.9rem;
    color: var(--text-light-high);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.sol-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.25rem;
}

.sol-bullets li {
    font-size: 0.85rem;
    color: var(--text-light-med);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sol-bullets li i {
    font-size: 0.7rem;
    color: var(--color-accent-red);
}

/* --------------------------------------------------------------------------
   8. PORTFOLIO SECTION & CAROUSELS
   -------------------------------------------------------------------------- */
.filter-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 50px;
}

.filter-btn {
    background: none;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark-med);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--color-primary);
    color: #FFFFFF;
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    transition: var(--transition-smooth);
}

.project-card-item {
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

.project-card-item.hidden {
    display: none;
    opacity: 0;
    transform: scale(0.9);
}

.project-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 0, 0, 0.08);
}

/* CAROUSEL IMAGES CONTAINER */
.carousel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    background-color: var(--bg-darker);
    overflow: hidden;
}

.carousel-slides {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background-color: rgba(10, 25, 47, 0.7);
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    z-index: 10;
    opacity: 0;
    transition: var(--transition-fast);
}

.carousel-container:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background-color: var(--color-accent-gold);
    color: var(--bg-dark);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

/* Carousel Indicators (Dots) */
.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.carousel-dots .dot {
    width: 6px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-dots .dot.active {
    background-color: var(--color-accent-gold);
    width: 14px;
    border-radius: 10px;
}

/* Project Information Details */
.project-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
}

.project-year {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--color-accent-gold);
    padding: 0.15rem 0.6rem;
    border-radius: 4px;
}

.project-client {
    color: var(--text-dark-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.project-info h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark-highest);
    margin-bottom: 0.75rem;
    line-height: 1.35;
    height: 46px;
    /* Cap at two lines */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.project-info p {
    font-size: 0.88rem;
    color: var(--text-dark-med);
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   9. CERTIFICATIONS & HKI SECTION
   -------------------------------------------------------------------------- */
.column-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dark-highest);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hki-intro,
.cert-intro {
    font-size: 0.95rem;
    color: var(--text-dark-med);
    margin-bottom: 2rem;
}

/* HKI List */
.hki-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hki-item {
    display: flex;
    gap: 1.25rem;
    background-color: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.hki-item:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateX(3px);
}

.hki-badge {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--color-accent-gold);
    border: 1px solid rgba(212, 175, 55, 0.2);
    height: fit-content;
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 800;
    border-radius: 4px;
    white-space: nowrap;
}

.hki-badge.cipta {
    background-color: rgba(220, 38, 38, 0.08);
    color: var(--color-accent-red);
    border-color: rgba(220, 38, 38, 0.15);
}

.hki-details h4 {
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--text-dark-highest);
}

.hki-details p {
    font-size: 0.82rem;
    color: var(--text-dark-light);
    margin-bottom: 0;
}

/* CERTIFICATES SLIDER / CAROUSEL */
.cert-carousel-wrapper {
    position: relative;
    background-color: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.cert-carousel {
    display: flex;
    position: relative;
    width: 100%;
    min-height: 480px;
}

.cert-slide {
    min-width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.cert-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.cert-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cert-image {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 4/5;
    background-color: var(--bg-darker);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.cert-info h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dark-highest);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.cert-issuer {
    font-size: 0.85rem;
    color: var(--text-dark-light);
}

/* Certificate Navigation Buttons */
.cert-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1.5rem;
}

.cert-nav button {
    background: none;
    border: 1px solid rgba(0, 0, 0, 0.08);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text-dark-med);
    transition: var(--transition-fast);
}

.cert-nav button:hover {
    background-color: var(--color-primary);
    color: #FFFFFF;
    border-color: var(--color-primary);
}

.cert-counter {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark-high);
}

/* --------------------------------------------------------------------------
   10. CONTACT / CTA SECTION
   -------------------------------------------------------------------------- */
.kontak-section {
    position: relative;
    background-color: var(--bg-darker);
}

.kontak-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--text-light-highest);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.kontak-text {
    color: var(--text-light-high);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.kontak-details {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.kd-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.kd-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 105, 92, 0.12);
    border: 1px solid rgba(0, 105, 92, 0.25);
    color: #26A69A;
    /* Vibrant Emerald icon */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.kd-item:nth-child(2) .kd-icon {
    background-color: rgba(15, 76, 129, 0.15);
    border: 1px solid rgba(15, 76, 129, 0.3);
    color: #42A5F5;
    /* Vibrant Blue icon */
}

.kd-content {
    display: flex;
    flex-direction: column;
}

.kd-label {
    font-size: 0.8rem;
    color: var(--text-light-med);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.kd-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-light-highest);
}

a.kd-value:hover {
    color: var(--color-accent-gold);
}

/* Contact Form Grid Column */
.kontak-form-column {
    position: relative;
    z-index: 10;
}

.form-wrapper {
    background-color: var(--bg-card-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.form-wrapper h3 {
    font-size: 1.5rem;
    color: var(--text-light-highest);
    margin-bottom: 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-light-high);
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: var(--bg-darker);
    /* Solid dark charcoal #141A1D */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #FFFFFF;
    transition: var(--transition-fast);
}

.form-group select option {
    background-color: var(--bg-card-dark);
    color: #FFFFFF;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #26A69A;
    /* Green focus border */
    box-shadow: 0 0 10px rgba(38, 166, 154, 0.3);
}

/* Submit Button Override */
.btn-block {
    width: 100%;
}

/* --------------------------------------------------------------------------
   11. FOOTER SECTION
   -------------------------------------------------------------------------- */
.bg-darker {
    background-color: var(--bg-darker);
}

.main-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-light-high);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 5rem;
    padding-top: 80px;
    padding-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-desc {
    font-size: 0.88rem;
    color: var(--text-light-med);
    line-height: 1.6;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    background-color: var(--color-primary-med);
    color: var(--text-light-high);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.footer-socials a:hover {
    background-color: var(--color-accent-gold);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

/* Footer Links Grid */
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-link-group h4 {
    color: var(--text-light-highest);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-link-group ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-link-group ul li a {
    font-size: 0.88rem;
    color: var(--text-light-med);
}

.footer-link-group ul li a:hover {
    color: var(--color-accent-gold);
    padding-left: 5px;
}

.legal-doc-link {
    font-size: 0.88rem;
    color: var(--text-light-med);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-fast);
}

.legal-doc-link i {
    color: #26A69A; /* Vibrant Emerald color */
    font-size: 0.88rem;
    transition: var(--transition-fast);
}

.legal-doc-link:hover {
    color: var(--text-light-highest) !important;
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    padding-left: 0.75rem !important; /* Prevents inheriting parent padding-left change */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.legal-doc-link:hover i {
    color: #4DB6AC; /* Lighter emerald on hover */
    transform: scale(1.1) translate(1px, -1px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-light-med);
}

.tkdn {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-light-high);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   12. KEYFRAMES & TRANSITIONS (SCROLL REVEAL)
   -------------------------------------------------------------------------- */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

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

/* Scroll Reveal Classes */
[data-reveal] {
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

[data-reveal="bottom"] {
    transform: translateY(40px);
}

[data-reveal="left"] {
    transform: translateX(-40px);
}

[data-reveal="right"] {
    transform: translateX(40px);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* --------------------------------------------------------------------------
   13. MEDIA QUERIES (RESPONSIVENESS)
   -------------------------------------------------------------------------- */

/* Desktop & Laptop HD */
@media (max-width: 1200px) {
    :root {
        --container-width: 960px;
    }

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

/* Tablets (landscape and portrait) */
@media (max-width: 992px) {
    :root {
        --container-width: 720px;
    }

    .section-padding {
        padding: 80px 0;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

/* Mobile Devices */
@media (max-width: 768px) {
    :root {
        --container-width: 100%;
        --header-height: 70px;
    }

    .container {
        padding: 0 1.5rem;
    }

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

    .grid-2,
    .grid-3,
    .project-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mobile-toggle {
        display: block;
        z-index: 1001;
    }

    /* Navigation drawer overlay on mobile */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--bg-dark);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition-smooth);
        z-index: 1000;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 2.5rem;
        width: 100%;
        padding: 2rem;
    }

    .nav-link {
        font-size: 1.15rem;
    }

    .nav-btn {
        width: 100%;
        text-align: center;
    }

    /* Hero section adjust */
    .hero-section {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }

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

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-top: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }

    /* About details */
    .profil-features {
        padding: 1.5rem;
    }

    /* Certificates */
    .cert-carousel-wrapper {
        padding: 1rem;
    }

    .cert-carousel {
        min-height: 440px;
    }

    .cert-image {
        max-width: 240px;
    }

    /* Forms */
    .form-wrapper {
        padding: 1.5rem;
    }

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

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   14. MODAL POPUPS (PROJECT & CERTIFICATE DETAILS)
   ========================================================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 12, 27, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.open {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--bg-card-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 960px;
    position: relative;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    overflow: hidden;
    animation: modalReveal 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalReveal {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.2rem;
    color: var(--text-light-high);
    cursor: pointer;
    z-index: 50;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--color-accent-gold);
    background-color: rgba(255, 255, 255, 0.15);
}

/* Modal Layout Grid */
.modal-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    min-height: 500px;
}

.modal-media-side {
    background-color: var(--bg-darker);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: auto;
}

.modal-carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 450px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.modal-carousel-slides {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.modal-carousel-slide {
    min-width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}

.modal-carousel-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.modal-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 500px;
}

.modal-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(10, 25, 47, 0.8);
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 10;
    transition: var(--transition-fast);
}

.modal-carousel-btn:hover {
    background-color: var(--color-accent-gold);
    color: var(--bg-dark);
}

.modal-carousel-btn.prev {
    left: 15px;
}

.modal-carousel-btn.next {
    right: 15px;
}

.modal-carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.modal-carousel-dots .dot {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-carousel-dots .dot.active {
    background-color: var(--color-accent-gold);
    width: 18px;
    border-radius: 10px;
}

/* Modal Info Side */
.modal-info-side {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--bg-card-dark);
}

.modal-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.modal-year {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--color-accent-gold);
    padding: 0.2rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
}

.modal-client {
    font-size: 0.85rem;
    color: var(--text-light-med);
    font-weight: 600;
}

.modal-title {
    font-size: 1.8rem;
    color: var(--text-light-highest);
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.modal-divider {
    width: 50px;
    height: 3px;
    background-color: var(--color-accent-red);
    margin-bottom: 1.5rem;
    border-radius: 2px;
}

.modal-desc {
    font-size: 0.95rem;
    color: var(--text-light-high);
    line-height: 1.7;
    overflow-y: auto;
    max-height: 250px;
    padding-right: 10px;
}

/* Scrollbar for modal description */
.modal-desc::-webkit-scrollbar {
    width: 6px;
}

.modal-desc::-webkit-scrollbar-thumb {
    background-color: var(--color-primary-light);
    border-radius: 3px;
}

/* Certificate Modal Specific Styles */
.cert-modal-content {
    max-width: 600px;
    background-color: var(--bg-card-dark);
}

.modal-cert-body {
    padding: 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-cert-image {
    width: 100%;
    max-height: 60vh;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 1.5rem;
    background-color: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-cert-image img {
    max-width: 100%;
    max-height: 55vh;
    object-fit: contain;
}

.modal-cert-title {
    font-size: 1.2rem;
    color: var(--text-light-highest);
    margin-bottom: 0.5rem;
}

.modal-cert-issuer {
    font-size: 0.85rem;
    color: var(--text-light-med);
}

/* Read More Button styling on Project Card */
.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent-gold);
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    align-self: flex-start;
}

.read-more-btn:hover {
    color: var(--color-accent-red);
    transform: translateX(5px);
}

/* Make Project Image Hoverable for Modal */
.carousel-container {
    cursor: pointer;
}

.cert-image {
    cursor: pointer;
}

/* Modal Responsiveness */
@media (max-width: 992px) {
    .modal-content {
        max-width: 720px;
    }

    .modal-grid {
        grid-template-columns: 1fr;
    }

    .modal-media-side {
        aspect-ratio: 16/10;
    }

    .modal-carousel-container {
        min-height: auto;
    }

    .modal-info-side {
        padding: 2rem;
    }

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

@media (max-width: 768px) {
    .modal {
        padding: 1rem;
    }

    .modal-content {
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-media-side {
        aspect-ratio: 16/11;
    }

    .modal-info-side {
        padding: 1.5rem;
    }

    .modal-title {
        font-size: 1.3rem;
    }

    .modal-desc {
        max-height: 180px;
    }
}