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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#ffffff;
    color:#222;
    line-height:1.6;
    font-size:14px;
}

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

a{
    text-decoration:none;
    color:inherit;
}

section{
    padding:35px 20px;
}

.section-header{
    text-align:center;
    margin-bottom:20px;
}

.section-header h2{
    font-size:1.6rem;
    font-weight:600;
    margin-bottom:8px;
}

.section-header p{
    font-size:0.9rem;
    max-width:600px;
    margin:auto;
    color:#666;
}

header{
    position:sticky;
    top:0;
    z-index:1000;
    background:#fff;
    border-bottom:1px solid #eee;
}

.navbar{
    max-width:1200px;
    margin:auto;
    height:58px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 18px;
}

.logo{
    font-family:'Cinzel',serif;
    font-size:1rem;
    font-weight:700;
}

.nav-links{
    display:flex;
    list-style:none;
    gap:18px;
}

.nav-links a{
    font-size:13px;
    font-weight:500;
    position:relative;
    padding:4px 0;
}

.nav-links a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-2px;
    width:0;
    height:1.5px;
    background:#111;
    transition:.25s;
}

.nav-links a:hover::after{
    width:100%;
}

body.dark-mode .nav-links a::after{
    background:#fff;
}

.hero{
    text-align:center;
    padding:80px 20px 80px;
}

.hero-image{
    width:120px;
    height:120px;
    border-radius:50%;
    object-fit:cover;
    margin:auto;
}

.hero h1{
    margin-top:15px;
    font-size:2rem;
    font-weight:700;
}

.hero h2{
    margin-top:6px;
    font-size:0.95rem;
    font-weight:500;
    color:#555;
}

.hero p{
    max-width:500px;
    margin:16px auto;
    color:#666;
    font-size:0.92rem;
}

.hero-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 22px;
    border-radius:999px;
    background:#111;
    color:#fff;
    font-size:13px;
}

.about-content{
    max-width:750px;
    margin:auto;
    text-align:center;
}

.about-content p{
    margin-bottom:14px;
    color:#555;
}

.about-buttons{
    display:flex;
    justify-content:center;
    gap:12px;
    margin-top:20px;
    flex-wrap:wrap;
}

.primary-btn,
.secondary-btn{
    padding:10px 18px;
    border-radius:999px;
    font-size:13px;
    font-weight:500;
}

.primary-btn{
    background:#111;
    color:white;
}

.secondary-btn{
    border:1px solid #ddd;
}

.projects-grid{
    max-width:1100px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:15px;
}

.project-card{
    background:white;
    border:1px solid #eee;
    border-radius:4px;
    overflow:hidden;
    transition:0.3s;
    cursor:pointer;
}

.project-card:hover{
    transform:translateY(-4px);
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.project-icon img{
    width:100%;
    height:170px;
    object-fit:cover;
}

.project-text{
    padding:12px;
    text-align:center;
}

.project-text h3{
    font-size:0.95rem;
    margin-bottom:10px;
}

.contact-container{
    display:flex;
    justify-content:center;
    gap:16px;
    flex-wrap:wrap;
}

.contact-card{
    width:180px;
    border:1px solid #eee;
    padding:18px;
    text-align:center;
    border-radius:8px;
}

.contact-card img{
    width:32px;
    margin:auto auto 10px;
}

.contact-card h3{
    font-size:0.95rem;
    margin-bottom:6px;
}

.contact-card span{
    font-size:0.8rem;
    color:#666;
}

.contact-location{
    margin-top:25px;
    text-align:center;
}

.contact-location img{
    width:22px;
    margin:auto auto 8px;
}

.recommendation-list{
    max-width:900px;
    margin:auto;
    display:flex;
    flex-direction:column;
    gap:15px;
}

.recommendation-item{
    display:grid;
    grid-template-columns:80px 1fr;
    gap:15px;
    padding:15px;
    border:1px solid #eee;
    border-radius:6px;
    align-items:start;
}

.recommender-img{
    width:80px;
    height:80px;
    border-radius:50%;
    object-fit:cover;
    flex-shrink:0;
}

.recommendation-item h3{
    font-size:15px;
    margin-bottom:4px;
}

.recommendation-item span{
    display:block;
    color:#666;
    font-size:13px;
    margin-bottom:10px;
}

.recommendation-item details{
    margin-top:8px;
}

.recommendation-item summary{
    cursor:pointer;
    font-size:13px;
    font-weight:500;
    list-style:none;
}

.recommendation-item summary::-webkit-details-marker{
    display:none;
}

.recommendation-item summary::after{
    content:"+";
    float:right;
}

.recommendation-item details[open] summary::after{
    content:"−";
}

.recommendation-item details p{
    margin-top:10px;
    font-size:13px;
    color:#555;
    line-height:1.6;
}

.reference-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
    max-width:900px;
    margin:30px auto 0;
}

.reference-card{
    border:1px solid #eee;
    padding:14px;
    text-align:center;
    border-radius:6px;
}

.reference-card strong{
    display:block;
    font-size:14px;
    margin-bottom:5px;
}

.reference-card span{
    display:block;
    font-size:12px;
    color:#666;
    margin-bottom:8px;
}

.reference-card a{
    font-size:12px;
}

footer{
    text-align:center;
    padding:25px;
    border-top:1px solid #eee;
    font-size:13px;
    color:#666;
}

@media(max-width:992px){

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

}

@media(max-width:768px){

    .logo{
        display:none;
    }

    .navbar{
        justify-content:center;
    }

    .nav-links{
        gap:16px;
    }

    .nav-links a{
        font-size:12px;
    }

    section{
        padding:35px 16px;
    }

    .hero{
        padding:65px 16px 65px;
    }

    .hero-image{
        width:95px;
        height:95px;
    }

    .hero h1{
        font-size:1.55rem;
    }

    .hero h2{
        font-size:0.8rem;
    }

    .hero p{
        font-size:0.85rem;
        max-width:320px;
    }

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

    .project-icon img{
        height:100px;
    }

    .project-text{
        padding:8px;
    }

    .project-text h3{
        font-size:12px;
    }

    .tap-btn{
        width:30px;
        height:30px;
    }

    .contact-container{
        gap:14px;
    }

    .contact-card{
        width:50px;
        height:50px;
        padding:0;
        border-radius:50%;
        display:flex;
        align-items:center;
        justify-content:center;
    }

    .contact-card img{
        width:24px;
        margin:0;
    }

    .contact-card h3,
    .contact-card span{
        display:none;
    }

    .recommendation-item{
    grid-template-columns:1fr;
    text-align:center;
}

.recommender-img{
    width:70px;
    height:70px;
    margin:auto;
}

.recommendation-item details{
    text-align:left;
}

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

}

@media(max-width:480px){

    body{
        font-size:13px;
    }

    .hero h1{
        font-size:1.35rem;
    }

    .hero h2{
        font-size:0.75rem;
    }

    .section-header h2{
        font-size:1.3rem;
    }

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

}

.page-section{
    max-width:950px;
    margin:auto;
    padding:60px 20px;
}

.page-section h1{
    text-align:center;
    font-size:2rem;
    margin-bottom:5px;
    font-weight:700;
    position:relative;
}

.page-section h1::after{
    content:"";
    display:block;
    width:70px;
    height:2px;
    background:#111;
    margin:10px auto 0;
}

body.dark-mode .page-section h1::after{
    background:#fff;
}

.page-section h2{
    font-size:1.35rem;
    margin:0 0 15px;
    text-align:center;
    font-weight:600;
}

.section-title{
    text-align:center;
    font-size:1.35rem;
    font-weight:600;
    margin:30px 0 20px;
}

.section-title::after{
    content:"";
    display:block;
    width:50px;
    height:2px;
    background:#86c246;
    margin:0px auto 0;
}

.page-section h3{
    font-size:1rem;
    background:#86c246;
    margin-bottom:0;
    font-weight:600;
}

.page-section p{
    color:#555;
    font-size:0.9rem;
    margin-bottom:15px;
}

.page-card{
    border:1px solid #eee;
    border-radius:6px;
    padding:18px;
    margin-bottom:20px;
    background:#fff;
}

.page-card ul{
    margin-top:10px;
    padding-left:18px;
}

.page-card li{
    margin-bottom:6px;
    font-size:0.9rem;
    color:#444;
}

.floating-back-btn{
    position:fixed;
    top:18px;
    left:18px;

    padding:8px 16px;

    background:#111;
    color:#fff;

    border-radius:999px;

    font-size:13px;
    font-weight:500;

    z-index:1001;

    box-shadow:0 4px 12px rgba(0,0,0,.12);

    transition:.25s;
}

.floating-back-btn:hover{
    transform:translateY(-2px);
}

.experience-item span{
    display:block;
    color:#666;
    font-size:13px;
    margin-bottom:12px;
}

.page-card img{
    width:100%;
    border-radius:6px;
    margin:12px 0;
    cursor:zoom-in;
    transition:0.3s;
}

.page-card img:hover{
    transform:scale(1.01);
}

iframe{
    width:100%;
    border-radius:6px;
    margin:12px 0;
}

.side-by-side-images{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
    margin:15px 0;
}

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

.image-box p{
    font-size:12px;
    margin-top:6px;
    color:#666;
}

#activate3DButton{
    border:none;
    background:#111;
    color:white;
    border-radius:999px;
    font-size:13px;
    font-family:'Poppins',sans-serif;
}

.zoomable{
    cursor:pointer;
}

.image-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.92);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9999;
    padding:20px;
}

.image-modal img{
    max-width:95%;
    max-height:95vh;
    border-radius:8px;
}

.image-modal.hidden{
    display:none;
}

@media(max-width:992px){

    .page-section{
        max-width:800px;
    }

}

@media(max-width:768px){

    .page-section{
        padding:45px 16px;
    }

    .page-section h1{
        font-size:1.55rem;
        margin-bottom:10px;
    }

    .page-section h2{
        font-size:1.15rem;
        margin:1px 0 10px;
    }

    .page-section h3{
        font-size:0.92rem;
    }

    .page-card{
        padding:14px;
        margin-bottom:15px;
    }

    .page-card p,
    .page-card li{
        font-size:0.85rem;
    }

    .floating-back-btn{
        padding:8px 15px;
        font-size:12px;
    }

    .side-by-side-images{
        grid-template-columns:1fr;
        gap:10px;
    }

    iframe{
        height:300px !important;
    }

}

@media(max-width:480px){

    .page-section h1{
        font-size:1.35rem;
    }

    .page-section h2{
        font-size:1rem;
    }

    .page-card{
        padding:12px;
    }

    iframe{
        height:250px !important;
    }

}

.theme-toggle{
    width:36px;
    height:36px;

    border:none;
    border-radius:50%;

    background:transparent;
    color:#666;

    font-size:16px;
    cursor:pointer;

    transition:.25s;
}

.theme-toggle:hover{
    background:#f5f5f5;
    color:#111;
}

body.dark-mode{
    background:#121212;
    color:#f2f2f2;
}

body.dark-mode header{
    background:#121212;
    border-color:#222;
}

body.dark-mode footer{
    border-color:#222;
    color:#aaa;
}

body.dark-mode .page-card,
body.dark-mode .project-card,
body.dark-mode .contact-card,
body.dark-mode .reference-card,
body.dark-mode .recommendation-item{
    background:#1a1a1a;
    border-color:#2a2a2a;
}

body.dark-mode p,
body.dark-mode span,
body.dark-mode li,
body.dark-mode .section-header p{
    color:#bdbdbd;
}

body.dark-mode .secondary-btn{
    border-color:#333;
}

body.dark-mode .floating-back-btn{
    background:#fff;
    color:#111;
}

body.dark-mode .theme-toggle:hover{
    background:#222;
    color:#fff;
}

body.dark-mode .navbar{
    background:#121212;
}

body.dark-mode .nav-links a{
    color:#e5e5e5;
}

body.dark-mode .logo{
    color:#fff;
}

body.dark-mode .hero-btn,
body.dark-mode .primary-btn,
body.dark-mode .secondary-btn,
body.dark-mode .floating-back-btn{
    border:1px solid rgba(255,255,255,.25);
}

body.dark-mode .hero-btn,
body.dark-mode .primary-btn{
    background:#fff;
    color:#111;
}

body.dark-mode .secondary-btn{
    color:#fff;
    background:transparent;
    border:1px solid rgba(255,255,255,.35);
}

.hire-btn{
    position:fixed;
    right:20px;
    bottom:20px;

    background:#111;
    color:#fff;

    padding:12px 20px;

    border-radius:999px;

    font-size:13px;
    font-weight:500;

    box-shadow:0 4px 12px rgba(0,0,0,.15);

    z-index:999;

    opacity:0;
    visibility:hidden;

    transition:.25s;
}

.hire-btn.show{
    opacity:1;
    visibility:visible;
}

body.dark-mode .hire-btn{
    background:#fff;
    color:#111;
    border:1px solid rgba(255,255,255,.2);
}

.accordion-section{
    margin-bottom:20px;
}

.accordion-section summary{
    list-style:none;
    cursor:pointer;
    font-size:0.8rem;
    font-weight:600;
    text-align:left;
    padding:16px 20px;
    border:1px solid var(--accent,#111);
    border-radius:6px;
    background:rgba(0,0,0,.02);
    color:var(--accent,#111);
    position:relative;
    user-select:none;
    transition:.25s;
}

.accordion-section[open] summary{
    background:var(--accent,#111);
    color:#fff;
}

.accordion-section summary::-webkit-details-marker{
    display:none;
}

.accordion-section summary::after{
    content:"+";
    position:absolute;
    right:20px;
    top:50%;
    transform:translateY(-50%);
    font-size:20px;
}

.accordion-section[open] summary::after{
    content:"−";
}

.accordion-section[open] summary{
    border-bottom-left-radius:0;
    border-bottom-right-radius:0;
}

.accordion-section .page-card{
    margin-top:0;
    border-top:none;
    border-top-left-radius:0;
    border-top-right-radius:0;
}

.web-page{
    --accent:#2563eb;
}

.research-page{
    --accent:#16a34a;
}

.cartography-page{
    --accent:#7c3aed;
}

.survey-page{
    --accent:#d97706;
}

.qr-card{
    cursor:default;
}

.qr-card img{
    width:90px;
    height:90px;
    margin:auto;
}

@media(max-width:768px){

    .qr-card{
        display:none;
    }

}


body.dark-mode .accordion-section summary {
    position: relative;
}

body.dark-mode .web-page .accordion-section summary,
body.dark-mode .research-page .accordion-section summary,
body.dark-mode .cartography-page .accordion-section summary,
body.dark-mode .survey-page .accordion-section summary {
    border-color: var(--accent);
    color: #ffffff;
}

body.dark-mode .accordion-section summary::after {
    color: inherit;
    opacity: 1;
}

body.dark-mode .accordion-section summary:hover {
    background: #262626;
}

body.dark-mode .accordion-section[open] summary {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.recommendation-item summary{
    list-style:none;
    cursor:pointer;

    display:flex;
    align-items:center;
    justify-content:space-between;

    font-size:13px;
    font-weight:500;

    color:#555;
    padding:8px 0;

    transition:.25s;
}

.recommendation-item summary::-webkit-details-marker{
    display:none;
}

.recommendation-item summary::after{
    content:"+";
    font-size:18px;
    font-weight:600;
    transition:.25s;
}

.recommendation-item details[open] summary::after{
    content:"−";
}

.summary-text{
    color:#6b7280;
    transition:.25s;
}

.rec-1 details[open] h3,
.rec-1 details[open] summary::after{
    color:#2563eb;
    font-weight:600;
}

.rec-2 details[open] h3,
.rec-2 details[open] summary::after{
    color:#16a34a;
    font-weight:600;
}

.rec-3 details[open] h3,
.rec-3 details[open] summary::after{
    color:#d97706;
    font-weight:600;
}

.recommendation-item summary:hover{
    opacity:.85;
}

body.dark-mode .recommendation-item summary{
    color:#d4d4d4;
}

body.dark-mode .recommendation-item details p{
    color:#bdbdbd;
}

body.dark-mode .rec-1 details[open] h3,
body.dark-mode .rec-1 details[open] summary::after{
    color:#60a5fa;
}

body.dark-mode .rec-2 details[open] h3,
body.dark-mode .rec-2 details[open] summary::after{
    color:#4ade80;
}

body.dark-mode .rec-3 details[open] h3,
body.dark-mode .rec-3 details[open] summary::after{
    color:#fbbf24;
}

body.dark-mode .contact-card:first-child img{
    filter: invert(1);
}

.rec-1 .summary-text{
    color:#2563eb;
}

.rec-2 .summary-text{
    color:#16a34a;
}

.rec-3 .summary-text{
    color:#d97706;
}

.live-samples{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    margin:30px 0;
}

.sample-card:hover{
    transform:translateY(-6px);
    border-color:var(--accent);
    box-shadow:0 18px 35px rgba(0,0,0,.10);
}

.sample-card{
    position:relative;
}

.sample-card img{
    width:100%;
    height:auto;
    display:block;
    border:1px solid #111;
    transition:transform .4s ease;
}

.sample-card:hover img{
    transform:scale(1.04);
}

.sample-content{
    padding:10px 12px;
    text-align:center;
}

.sample-content h3{
    font-size:.95rem;
    font-weight:600;
    margin-bottom:2px;
    line-height:1.3;
}

@media(max-width:768px){

    .live-samples{
        grid-template-columns:repeat(2,1fr);
        gap:10px;
    }

    .sample-card img{
        aspect-ratio:16/10;
    }

    .sample-content{
        padding:8px 10px;
    }

    .sample-content h3{
        font-size:.8rem;
        margin-bottom:2px;
    }
}

.page-intro{
    text-align:center;
    max-width:700px;
    margin:0 auto 1rem;
    color:#666;
}
.brand-arrow{
    text-align:center;
    color:#86c246;
    font-size:26px;
    font-weight:700;
    margin:0 0 6px;
}

.brand-title{
    margin:0;
}

.branding-showcase{
    max-width:920px;
    margin:30px auto 45px;
    display:grid;
    grid-template-columns:320px 1fr;
    gap:40px;
    align-items:start;
}


.logo-showcase,
.cards-showcase{
    text-align:center;
}


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

.logo-showcase .brand-logo{
    width:280px;
    max-width:100%;
    height:180px;
    object-fit:contain;
    margin:0 auto;
}

.business-images{
    height:180px;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:14px;
}

.business-images img{
    width:48%;
    max-width:250px;
    border-radius:6px;
    transition:.3s;
}

.business-images img:hover{
    transform:translateY(-4px);
}


.logo-showcase h3,
.cards-showcase h3{
    font-weight:600;
    margin:16px 0 8px;
    line-height:1.3;
}

.logo-showcase p,
.cards-showcase p{
    font-size:.9rem;
    color:#666;
    line-height:1.6;
    margin:0;
}


body.dark-mode .logo-showcase p,
body.dark-mode .cards-showcase p{
    color:#bdbdbd;
}

body.dark-mode .brand-logo{
    border:1px solid #333;
}

@media (max-width:768px){

    .branding-showcase{
        grid-template-columns:1fr;
        gap:34px;
        max-width:560px;
        margin:24px auto 40px;
    }

    .logo-showcase .brand-logo{
        width:230px;
        height:150px;
    }

    .business-images{
        height:auto;
        gap:12px;
    }

    .business-images img{
        width:47%;
        max-width:220px;
    }

    .logo-showcase h3,
    .cards-showcase h3{
        font-size:1.05rem;
        margin-top:14px;
    }

    .logo-showcase p,
    .cards-showcase p{
        font-size:.86rem;
    }

}


@media (max-width:600px){

    .brand-arrow{
        font-size:22px;
        margin:24px 0 4px;
    }

    .branding-showcase{
        gap:28px;
        margin:20px auto 32px;
    }

    .logo-showcase .brand-logo{
        width:180px;
        height:120px;
    }

    .business-images{
        gap:8px;
    }

    .business-images img{
        width:48%;
    }

    .logo-showcase h3,
    .cards-showcase h3{
        font-size:1rem;
    }

    .logo-showcase p,
    .cards-showcase p{
        font-size:.82rem;
    }

}

.image-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.9);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:99999;
    cursor:zoom-out;
}

.overlay-image{
    max-width:90vw;
    max-height:90vh;
    object-fit:contain;
    border-radius:8px;
}