/*
Theme Name: Jue Theme
Author: Juju
Version: 1.0
*/
:root{
  --accent:#f29520;
  --topbar:#1a5fb4;
  --dark:#111217;
  --muted:#556;
  --bg:#fbfbfc;
  --max-width:920px;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--dark);line-height:1.5}
body:not(.home){
  background-image: url('background.png.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
}
/* Home page uses a clean white canvas behind the content. */
body.home{
  background:#fff;
  min-height: 100vh;
  overflow-x: hidden;
}
body.home::before{
  display:none;
}
body.home > .site-header{z-index:1000}
body.lectureroom-page,
body.proces-page,
body.aboutus-page,
body.list-car-page,
body.price-page{
  background-image: linear-gradient(180deg, rgba(255,255,255,0.80) 0%, rgba(255,255,255,0.72) 35%, rgba(255,255,255,0.80) 100%), url('background.png.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
}
body.testcomputer-page{
  background-image: linear-gradient(180deg, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.76) 35%, rgba(255,255,255,0.82) 100%), url('background.png.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
}

.lectureroom-content{padding-top:26px;padding-bottom:20px}
.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;margin-top:18px}
.info-card{background:rgba(255,255,255,0.96);border:1px solid rgba(17,18,23,0.06);border-radius:18px;padding:22px 20px;box-shadow:0 14px 32px rgba(17,18,23,0.06)}
.info-card.highlight{background:linear-gradient(180deg,#fffaf0 0%, #fff 100%);border:1px solid rgba(242,149,32,0.18)}
.tag{display:inline-block;padding:6px 12px;border-radius:999px;background:#fff1d6;color:#a15a00;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;margin-bottom:10px}
.info-card h2,.info-card h3{margin-top:0;margin-bottom:12px}
.info-card p,.info-card li{color:var(--muted);line-height:1.75}
.info-list{margin:0;padding-left:18px}
.cta-box{margin-top:24px;background:rgba(26,95,180,0.08);border:1px solid rgba(26,95,180,0.12);border-radius:18px;padding:20px 22px;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.cta-box p{margin:0;color:var(--dark);font-weight:600}
@media (max-width:600px){
  .cta-box{flex-direction:column;align-items:flex-start}
}
.container-nav{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:8px 18px;width:100%}
.container{max-width:var(--max-width);margin:0 auto;padding:18px}
.site-header .nav{padding:8px 18px !important;width:100% !important;}
.site-header{position:relative;z-index:100;background:var(--topbar);color:#fff;box-shadow:0 16px 40px rgba(16,42,99,.12)}
.nav{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:8px 18px;width:100%;}
.main-nav{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-shrink:0;margin-left:0px;}
.main-nav > a,.dropdown-btn{margin-left:0px}
.dropdown{position:relative;display:inline-block}
.dropdown-content{display:none;position:absolute;top:100%;left:0;min-width:180px;background:#fff;box-shadow:0 8px 16px rgba(0,0,0,.15);border-radius:4px;z-index:1000;padding:4px 0}
.dropdown-content a{display:block;margin-left:0;padding:12px 16px;color:#333;text-decoration:none;white-space:nowrap}
.dropdown-content a:hover{background:#f1f1f1}
.dropdown:hover .dropdown-content,.dropdown:focus-within .dropdown-content{display:block}
.brand{display:flex;align-items:center;font-weight:700;font-size:20px;color:#ffffff;letter-spacing:.3px;flex-shrink:0; justify-content:space-between;}
.brand-logo{height:70px;width:100px;object-fit:contain;border-radius:0px;display:inline-block;}
.build-banner{position:relative;width:100%;max-width:none;padding:0;margin:0;overflow:hidden}
.build-banner img{display:block;width:100%;height:clamp(300px,50vw,560px);object-fit:cover;border-radius:0;box-shadow:none}
.build-banner .wave{position:absolute;left:0;right:0;bottom:-1px;width:100%;height:100px;z-index:1}
.build-banner .wave svg{display:block;width:100%;height:100%}
.build-banner .wave path{fill:#ffffff}
.home-gallery{width:1000px;height:550px;min-height:360px;margin:0 auto;padding:28px 0 60px;overflow:hidden}
.home-gallery h2{margin:0 0 18px;text-align:center;font-size:38px}
.gallery-slider{height:calc(100% - 105px);overflow:hidden}
.gallery-track{height:100%;display:flex;transition:transform .35s ease}
.gallery-slide{flex:0 0 100%;height:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:14px}
.gallery-slide figure{margin:0;min-width:0;min-height:0;overflow:hidden;border-radius:10px;background:#eef1f5;box-shadow:0 8px 18px rgba(17,18,23,.08)}
.gallery-slide img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.gallery-slide figure:hover img{transform:scale(1.04)}
.gallery-controls{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:14px}
.gallery-button{padding:8px 16px;border:1px solid var(--topbar);border-radius:6px;background:#fff;color:var(--topbar);font:inherit;cursor:pointer}
.gallery-button:hover,.gallery-button:focus-visible{background:var(--topbar);color:#fff}
@media (max-width:600px){
  .home-gallery{width:92%;height:auto;min-height:0;padding-top:24px}
  .gallery-slider{height:430px}
  .gallery-slide{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:10px}
  .home-gallery h2{font-size:1.25rem}
}
nav a{margin-left:20px;color:#fff;text-decoration:none;font-weight:500}
nav a.cta{background:#fff;color:var(--topbar);padding:8px 12px;border-radius:8px}

/* .hero{background:radial-gradient(circle at top center, rgba(242,149,32,.12) 0%, transparent 45%), linear-gradient(120deg,#fff7e0 0%, #fff 50%);padding:40px 0;position:relative;overflow:hidden}  */
/* .home .hero{padding:24px 0} */
.hero::before{content:'';position:absolute;top:20px;left:-40px;width:260px;height:260px;background:rgba(255,206,124,.22);border-radius:50%;filter:blur(15px);}
.hero::after{content:'';position:absolute;bottom:-30px;right:-40px;width:180px;height:180px;background:rgba(242,149,32,.18);border-radius:50%;filter:blur(18px);}

body:not(.home) .hero::before,
body:not(.home) .hero::after{
  display:none;
}
.hero-inner{text-align:center;padding:24px;position:relative;z-index:1}
.home .hero-inner{padding:14px 18px}
.hero h1{font-size:38px;margin:0 0 14px;line-height:1.1;letter-spacing:.5px}
.hero p{color:var(--muted);margin:0 0 22px;max-width:680px;margin-left:auto;margin-right:auto}
.hero-actions .btn{display:inline-block;padding:12px 22px;border-radius:999px;text-decoration:none;margin:6px}
.time-page .time-grid{display:grid;grid-template-columns:1fr;gap:24px;align-items:start;margin:32px auto 0;max-width:min(92vw,980px)}
.time-page .time-block{background:rgba(255,255,255,.95);padding:28px;border-radius:22px;box-shadow:0 24px 60px rgba(15,23,32,.08);border:1px solid rgba(255,255,255,.9);width:min(100%,920px);margin:0 auto}
.time-page .time-block h2{margin-top:0;font-size:2rem}
.time-page .time-block p{color:var(--muted);margin:0 0 18px;line-height:1.75}
.time-page .time-table{width:100%;border-collapse:collapse;font-size:clamp(16px,1.8vw,22px);table-layout:fixed}
.time-page .time-table th,.time-page .time-table td{padding:clamp(14px,1.8vw,26px) clamp(14px,2vw,22px);border:1px solid #e3e3e3;text-align:left}
.time-page .time-table th{background:#f7f7f7;font-weight:700;font-size:clamp(17px,1.9vw,24px)}
.time-page .time-table td{font-size:clamp(15px,1.7vw,21px)}
.time-page .time-image{display:none}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:12px 20px;border-radius:999px;text-decoration:none;font-weight:600;border:0;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease}
.btn:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(26,95,180,.16)}
.btn.primary{background:var(--accent);color:#fff;box-shadow:0 14px 30px rgba(242,149,32,.18);text-shadow:1px 4px 7px rgba(0,0,0,.5)}
.btn.primary:hover{background:var(--accent);box-shadow:0 16px 36px rgba(14, 11, 11, 0.995)}
.btn.ghost{background:transparent;border:2px solid var(--accent);color:var(--accent)}
.card .btn{margin-top:18px;width:100%;display:inline-flex}

.services h2,.features h2,.center{text-align:center}
.proces-page .services > h2.center{
  margin:0 auto 10px;
  font-size:1.7rem;
  color:#111;
  font-weight:700;
  text-shadow:1px 2px 0 rgba(255,255,255,.95), 0 3px 5px rgba(0,0,0,.28);
}
.grid{display:grid;grid-template-columns:repeat(4, minmax(0, 1fr));gap:18px;margin-top:22px}
.list-car-page .grid{
  max-width:980px;
  margin:22px auto 0;
  display:grid;
  grid-template-columns:repeat(3, minmax(220px, 1fr));
  gap:22px;
  justify-items:center;
  align-items:stretch;
}
.list-car-page .card{
  width:100%;
  max-width:280px;
  min-height:220px;
  margin:0 auto;
  background:#ffffff;
  padding:22px 18px;
  border-radius:14px;
  box-shadow:0 10px 24px rgba(17,18,23,0.08);
  color:#111217;
  border:1px solid rgba(17,18,23,0.08);
  text-align:center;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}
.list-car-page .card h3{
  margin:0 0 14px;
  font-size:1.5rem;
  letter-spacing:.25px;
  color:#111217;
  text-align:center;
}
.list-car-page .card p{
  margin:0 0 10px;
  color:#556;
  line-height:1.8;
  text-align:center;
}
.vehicle-slideshow{position:relative;width:100%;height:150px;margin:0 0 14px;background:#f7f7f7;overflow:hidden;border-radius:10px}
.vehicle-slide{display:block;width:100%;height:100%;object-fit:contain;padding:10px}
.slide-button{position:absolute;top:50%;z-index:1;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:rgba(17,18,23,.7);color:#fff;cursor:pointer;transform:translateY(-50%);font-size:18px;line-height:1}
.slide-button.previous{left:8px}
.slide-button.next{right:8px}
.slide-dots{position:absolute;bottom:7px;left:0;right:0;display:flex;justify-content:center;gap:5px}
.slide-dot{width:7px;height:7px;padding:0;border:0;border-radius:50%;background:rgba(17,18,23,.3);cursor:pointer}
.slide-dot.active{background:var(--accent)}
.home .card{background:linear-gradient(180deg,#fff5d6 0%,#fdc56c 55%,#f29520 100%);padding:14px 16px;border-radius:14px;box-shadow:0 16px 32px rgba(242,149,32,.12);text-align:center;color:#2a1700;border:1px solid rgba(242,149,32,.18);background-clip:padding-box;height:auto;min-height:0;display:flex;flex-direction:column}
.home .card h3{margin-top:0;font-size:1.4rem;letter-spacing:.25px}
.home .card p{color:#3f2e10;line-height:1.75;margin:0 0 18px}
.home .card .btn{margin-top:auto;width:100%}
.home .feat{background:linear-gradient(180deg,#fff7dd 0%,#f8ca6a 55%,#f29520 100%);padding:12px;border-radius:12px;text-align:center;flex:1;min-width:200px;box-shadow:0 12px 24px rgba(242,149,32,.10);color:#2a1700;border:1px solid rgba(242,149,32,.16);background-clip:padding-box}
.home .feat h4{margin-top:0;font-size:1.15rem}
.card{background:white;padding:20px;border-radius:12px;box-shadow:0 6px 18px rgba(0,0,0,0.06);text-align:center}
.card h3{margin-top:0}

.table-wrap{overflow-x:auto;background:white;padding:18px;border-radius:12px;box-shadow:0 6px 18px rgba(0,0,0,0.06);margin-top:24px}
.table-prices{width:100%;border-collapse:collapse;color:var(--dark)}
.table-prices th,.table-prices td{padding:14px 18px;border-bottom:1px solid #e8edf3;text-align:left}
.table-prices th{background:#f4f7fb;font-weight:700}
.table-prices tr:hover{background:#f7fafe}

.grid-3{display:flex;gap:18px;flex-wrap:wrap;justify-content:space-between}
.feat{background:white;padding:18px;border-radius:10px;text-align:center;flex:1;min-width:200px;box-shadow:0 6px 18px rgba(0,0,0,0.06)}
.feat img{border-radius:8px;margin-bottom:8px}

/* Layout for About Us section content */
.about-sections{padding-top:18px;padding-bottom:8px;display:flex;flex-direction:column;gap:26px}
.about-section{background:#fff;border:1px solid #ececec;border-radius:12px;padding:22px 20px;box-shadow:0 8px 22px rgba(17,18,23,0.04)}
.about-section h2{margin:0 0 18px;font-size:2rem;line-height:1.2;color:#111}
.mvv-wrapper{display:flex;flex-wrap:nowrap;align-items:stretch;gap:24px}
.aboutus-page .mvv-wrapper{max-width:780px;margin:0 auto;padding:0 18px}
.mvv-text{flex:1;min-width:0;display:flex;flex-direction:column;align-items:stretch}
.mvv-text .grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;flex:1}
/* Constrain the Vision & Mission block to a medium width and center it */
.about-section#vision-mission, #vision-mission{
  max-width:980px;
  margin-left:auto;
  margin-right:auto;
}
#vision-mission .mvv-text{max-width:860px;margin:0 auto}
#vision-mission .mvv-wrapper{justify-content:center}
@media (max-width:900px){
  #vision-mission .mvv-text{max-width:100%;padding:0 12px}
  #vision-mission .mvv-text .grid{grid-template-columns:1fr;gap:12px}
  .grid{grid-template-columns:repeat(2, minmax(0, 1fr));}
}
.card{background:white;padding:20px;border-radius:12px;box-shadow:0 6px 18px rgba(0,0,0,0.06);text-align:left;display:flex;flex-direction:column;height:100%}
.card h3{margin:0 0 12px; text-align:left;}
.card p{margin:0; color:var(--muted); line-height:1.7; text-align:left;}
.objective-card{padding:18px 20px}
.objective-section{max-width:980px;margin-left:auto;margin-right:auto}
.objective-card{max-width:760px;margin:0 auto}
.objective-card h2{text-align:center}
.objective-card p{margin-bottom:12px}
.objective-card p:last-child{margin-bottom:0}
.organization-content{max-width:1400px;padding-top:16px;padding-bottom:0;text-align:center}
.organization-image{display:block;width:72%;max-width:1000px;height:auto;object-fit:contain;margin:0 auto}
.organization-back{margin-top:24px}
@media (max-width:600px){
  .mvv-wrapper{flex-direction:column}
  .mvv-text .grid{grid-template-columns:1fr}
  .about-section h2{font-size:1.5rem}
}

.map .map-wrap{background:white;padding:12px;border-radius:10px;box-shadow:0 6px 18px rgba(0,0,0,0.06)}
.map iframe{width:100%;height:320px;border:0;border-radius:8px}

.site-footer{padding:24px 0 16px;margin-top:28px;background:#0f1720;color:#d6d6d6}
.footer-inner{display:flex;flex-direction:column;gap:18px}
  .footer-contact{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;color:#d6d6d6}
  .footer-contact p{margin:0;min-width:220px;line-height:1.6}
  .footer-contact a{color:#80b4ff;text-decoration:none}
  .footer-contact a:hover{text-decoration:underline}
  .footer-operasi-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px;flex-wrap:wrap}
  .footer-operation-link a{color:#fff;text-decoration:underline}
  .social-links{display:flex;align-items:center;gap:14px}
  .social-links a{color:#d6d6d6;font-size:18px;transition:color .2s}
  .social-links a:hover{color:#80b4ff}
  .footer-bottom{width:100%;text-align:center;padding-top:16px;border-top:1px solid rgba(255,255,255,.12)}
.brand-name{display:flex;line-height:1;color:inherit;font-size:18px;margin-left:4px}


.steps-container{display:flex;flex-direction:column;gap:20px;margin:24px 0 32px}
.step{position:relative;background:linear-gradient(180deg,#ffffff 0%,#fffdf8 100%);padding:30px 24px 24px;border-radius:20px;border:1px solid rgba(16,42,99,.12);box-shadow:0 18px 36px rgba(16,42,99,.10);overflow:visible;min-height:auto;display:flex;flex-direction:column;justify-content:flex-start}
.step h3{margin:12px 0 10px;font-size:1.05rem}
.step p{margin:0 0 0;color:var(--muted)}
.testcomputer-page .hero h1{font-size:34px;margin-bottom:12px}
.testcomputer-page .hero p{color:var(--muted)}
.testcomputer-page .steps-container{display:flex;flex-direction:column;gap:18px;margin:24px 0 28px}
.testcomputer-page .step{min-height:auto;padding:24px 26px;border-radius:18px;background:linear-gradient(180deg,#ffffff 0%,#fffdf8 100%);box-shadow:0 16px 34px rgba(16,42,99,.09);border:1px solid rgba(16,42,99,.12)}
.testcomputer-page .step-number{display:none}
.step ul{margin:0 0 0 20px;padding:0;list-style:disc;line-height:1.75}
.step li{margin-bottom:10px}
.step-number{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;background:var(--topbar);color:white;border-radius:50%;font-weight:700;font-size:16px;position:absolute;top:-21px;left:50%;transform:translateX(-50%);box-shadow:0 8px 18px rgba(26,95,180,.22)}
.home .card ul{margin:10px 0 0 18px;padding:0;text-align:left;display:inline-block}
.home .card li{margin-bottom:6px}
@media (max-width:900px){
  .grid{grid-template-columns:repeat(2, minmax(0, 1fr));}
}

@media (max-width:700px){
  .nav{padding:8px 0}
  .hero h1{font-size:24px}
  .footer-inner{gap:14px}
  .footer-contact{flex-direction:column;align-items:flex-start}
  .brand-logo{height:36px;width:auto;object-fit:contain}
  .brand-name{font-size:16px}
  .grid{grid-template-columns:1fr}
}

.aboutus-page .mvv-text .card,
.list-car-page .services .card,
.price-page .table-wrap,
.time-page .time-block{
  background:linear-gradient(180deg,#ffffff 0%,#fffdf8 100%);
  border:1px solid rgba(16,42,99,.12);
  border-radius:20px;
  box-shadow:0 18px 36px rgba(16,42,99,.10);
}
.aboutus-page .mvv-text .card,
.list-car-page .services .card{padding:24px}
.price-page .table-wrap{padding:24px}

/* Make specific section headings larger with an outline effect
   Targets the service, feature, location, and process headings */
#services .center, #features .center, #location .center{
  font-size:clamp(28px,4.2vw,44px);
  color:#cd832e;
  font-weight:800;
  text-shadow: 0 1px 0 rgba(255,255,255,0.6), 0 2px 8px rgba(0,0,0,0.32);
  margin-bottom:10px;
}

#xyz
{
  background:rgba(255,255,255,0.3);border:1px solid rgba(17,18,23,0.06);border-radius:18px;padding:22px 20px;box-shadow:0 14px 32px rgba(17,18,23,0.06)
}

.home #services .center,
.home #features .center,
.home #location .center,
.home #gallery .center{
  width:fit-content;
  margin-left:auto;
  margin-right:auto;
  padding:0 14px 8px;
  border-bottom:3px solid var(--accent);
  color: #f69420;
text-shadow: 1px 4px 7px #000000;
}

@media (max-width:520px){
  #services .center, #features .center, #location .center{font-size:1.6rem}
}

/* Keep the internal pages on the same background as the lecture page. */
body.lectureroom-page,
body.proces-page,
body.aboutus-page,
body.list-car-page,
body.price-page{
  background-image: linear-gradient(180deg, rgba(255,255,255,0.80) 0%, rgba(255,255,255,0.72) 35%, rgba(255,255,255,0.80) 100%), url('background.png.jpg') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}

#car-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.712);
    z-index: 99999;
    display: none;
    overflow: hidden;
}

#car-transition .road {
    position: absolute;
    bottom: 30%;
    left: 0;
    width: 100%;
    height: 5px;
    background: #333;
}

#car-transition .car {
    position: absolute;
    bottom: calc(30% + 5px);
    left: 150px;
    font-size: 80px;
    transform: scaleX(-1);
    animation: carMove 1s linear forwards;
}

@keyframes carMove {
    from {
        left: -150px;
    }

    to {
        left: 110%;
    }
}

.dropdown-card {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.10);
    overflow: hidden;
}

/* Bahagian yang boleh click */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
}

.card-header h3 {
    margin: 0;
    font-size: 20px;
}

.card-header p {
    margin: 5px 0 0;
    color: #777;
    font-size: 14px;
}

.arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

/* Isi dropdown */
.card-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: all 0.3s ease;
}

/* when opened */
.card-content.show {
    max-height: 500px;
    padding: 0 20px 20px;
}

.card-content p {
    margin: 10px 0;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 8px;
}

/* Table in dropdown card */
.card-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

.card-table tr {
    border-bottom: 1px solid #e5e5e5;
    transition: background 0.2s ease;
}

.card-table tr:hover {
    background: #f7fafe;
}

.card-table tr:last-child {
    border-bottom: none;
}

.card-table td {
    padding: 12px 0;
    text-align: left;
}

.card-table .kategori {
    font-weight: 500;
    color: var(--dark);
    width: 70%;
}

.card-table .harga {
    text-align: right;
    font-weight: 600;
    color: var(--accent);
    font-size: 16px;
    width: 30%;
    padding-right: 0;
}

/* Arrow berpusing */
.arrow.rotate {
    transform: rotate(180deg);
}

/* ==========================================
   RESPONSIVE FIX - TABLET & PHONE
   Keep the original laptop-style layout
========================================== */

/* TABLET */
@media screen and (min-width: 701px) and (max-width: 1024px) {

    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .nav {
        width: 100%;
        gap: 8px;
        padding: 8px 10px !important;
    }

    .brand-logo {
        width: 65px;
        height: 55px;
        object-fit: contain;
    }

    .brand-name {
        font-size: 15px;
    }

    .main-nav {
        gap: 5px;
    }

    .main-nav a,
    nav a {
        margin-left: 5px;
        font-size: 12px;
    }

    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .list-car-page .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-gallery {
        width: 96%;
        max-width: 100%;
    }

    .organization-image {
        width: 95%;
    }
}

/* PHONE */
@media screen and (max-width: 700px) {

    /* Keep content inside phone screen */
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding: 10px;
    }

    /* Keep logo and navigation in the original row */
    .nav {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 100%;
        padding: 6px !important;
        gap: 5px;
    }

    .brand {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 4px;
        font-size: 13px;
    }

    .brand-logo {
        width: 38px;
        height: 38px;
        object-fit: contain;
    }

    .brand-name {
        font-size: 12px;
    }

    .main-nav {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2px;
        width: 100%;
    }

    .main-nav > a,
    .main-nav .dropdown-btn,
    nav a {
        margin: 0;
        padding: 5px 4px;
        font-size: 10px;
    }

    /* Keep the original multi-column card layout */
    .grid,
    .list-car-page .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .card,
    .info-card,
    .about-section,
    .step {
        min-width: 0;
        padding: 10px;
        overflow-wrap: anywhere;
    }

    .card h3,
    .info-card h3 {
        font-size: 14px;
    }

    .card p,
    .info-card p {
        font-size: 12px;
    }

    /* Keep the gallery layout compact */
    .home-gallery {
        width: 100%;
        max-width: 100%;
        height: auto;
        padding: 15px 8px;
    }

    .gallery-slider {
        height: 300px;
    }

    .gallery-slide {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: repeat(2, minmax(0, 1fr));
        gap: 5px;
    }

    .home-gallery h2 {
        font-size: 20px;
    }

    /* Keep images visible within the screen */
    img,
    iframe {
        max-width: 100%;
    }

    .organization-image {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .build-banner img {
        width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: contain;
    }

    /* Keep tables accessible without cutting off columns */
    .table-wrap {
        max-width: 100%;
        overflow-x: auto;
    }

    /* Keep footer content visible */
    .footer-contact {
        gap: 8px;
    }

    .footer-contact p {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    /* Keep buttons inside their cards */
    .btn {
        max-width: 100%;
        padding: 8px 10px;
        font-size: 12px;
        white-space: normal;
    }
}