
body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}
a, a:visited, a:active {
    text-decoration: underline;
}

/* ---------------------------
   Visual refresh: modern theme
   Appended styles to improve visual appearance across templates
   --------------------------- */

:root{
    --bg:#f6f7fb;
    --card:#ffffff;
    --muted:#6b7280;
    --accent-1: #2563eb;
    --accent-2: #7c3aed;
    --accent-3: linear-gradient(90deg,var(--accent-1),var(--accent-2));
    --glass: rgba(255,255,255,0.6);
    --shadow: 0 8px 30px rgba(16,24,40,0.08);
    --max-width: 1200px;
    --radius: 12px;
    --glass-border: rgba(255,255,255,0.6);
    font-synthesis: none;
}

html, body {
    background: radial-gradient(1200px 400px at 10% 10%, rgba(124,58,237,0.06), transparent 10%),
                radial-gradient(1000px 300px at 90% 90%, rgba(37,99,235,0.04), transparent 10%),
                var(--bg);
    color: #111827;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
}


* {
    box-sizing: border-box;
}


html, body {
    overflow-x: hidden;
    width: 100%;
}


img, picture, video, iframe, svg {
    max-width: 100%;
    height: auto;
    display: block;
}


.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 1rem; 
}


header {
    background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0.45));
    position: sticky;
    top: 0;
    z-index: 60;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 8px rgba(15,23,42,0.04);
}

nav {
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding: 0.75rem 1rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    display:flex;
    align-items:center;
    gap: 12px;
}

.logo-image { height:48px; width:auto; border-radius:6px; box-shadow: 0 6px 18px rgba(15,23,42,0.06); }
.logo-text { font-weight:700; font-size:1.125rem; color:#0f172a; }


.nav-links {
    display:flex;
    gap: 1rem;
    align-items:center;
    list-style:none;
    margin:0;
    padding:0;
}

.nav-links a {
    color: #0f172a;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 600;
    transition: all .18s ease;
    text-decoration: none;
    opacity: 0.95;
}

.nav-links a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: var(--accent-1);
    background: rgba(99,102,241,0.06);
}


.burger {
    
    display: none;
    width: 44px;
    height: 44px;
    padding: 6px;
    box-sizing: content-box;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px;
    background: transparent;
    z-index: 120; 
}

.burger .line1,
.burger .line2,
.burger .line3 {
    width: 26px;
    height: 3px;
    background: #0f172a;
    border-radius: 3px;
    transition: transform 0.28s ease, opacity 0.18s ease;
    display: block;
}
.burger .line1 { margin-bottom: 6px; }
.burger .line2 { margin-bottom: 6px; }


.burger.toggle .line1 { transform: rotate(45deg) translate(4px, 4px); }
.burger.toggle .line2 { opacity: 0; transform: translateX(-12px); }
.burger.toggle .line3 { transform: rotate(-45deg) translate(4px, -4px); }


.hero {
    display:flex;
    gap: 1.5rem;
    align-items:center;
    justify-content:space-between;
    padding: 2rem 1rem;      
    max-width: var(--max-width);
    margin: 1.25rem auto;    
    background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0.9));
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero img { max-width: 34%; border-radius: 10px; box-shadow: 0 8px 24px rgba(15,23,42,0.07); }
.hero p { flex:1; font-size:1rem; color:var(--muted); margin-right:0.75rem; }
.cta {
    
    background: linear-gradient(90deg, #1844C6, #130d6b);
    background-size: 200% 100%;
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 700;
    transition: background-position 0.35s ease, transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(10,20,60,0.18);
}

.cta:hover {
    background-position: 100% 0;
    transform: translateY(-3px);
    filter: brightness(0.92); 
    box-shadow: 0 14px 40px rgba(10,20,60,0.22);
}


.features { display:flex; gap:1.25rem; margin: 2rem 1rem; flex-wrap:wrap; justify-content:space-between; }
.feature {
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(248,250,252,0.9));
    border-radius: 12px;
    padding: 1.25rem;
    flex: 1 1 320px;
    min-width: 260px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(15,23,42,0.04);
}


.gallery-grid {
    display: grid;
    
    grid-template-columns: repeat(auto-fit, minmax(180px, 220px));
    gap: 18px;
    justify-content: center; 
}

.gallery-item {
    border-radius: 10px;
    overflow:hidden;
    background: linear-gradient(180deg, #fff, #fbfbff);
    border: 1px solid rgba(15,23,42,0.04);
    transition: transform .25s ease, box-shadow .25s ease;
}

.gallery-item img { width:100%; height:160px; object-fit:cover; display:block; }


.gallery-item:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(2,6,23,0.12); }


.gallery-row {
    -webkit-overflow-scrolling: touch;
    /* keep the horizontal scroll on wide screens by default,
       but allow media queries below to stack items and hide overflow */
}

@media (max-width: 768px) {
    .gallery-row {
        display: flex;
        flex-wrap: wrap;
        overflow-x: hidden;
        gap: 0.6rem;
        padding: 0.5rem 0;
    }
    .gallery-item {
        flex: 1 1 calc(50% - 0.6rem);
        width: calc(50% - 0.6rem) !important;
        min-width: 0;
    }
}

@media (max-width: 420px) {
    .gallery-item {
        flex: 1 1 100%;
        width: 100% !important;
    }
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(2,6,23,0.06);
    margin: 1rem 0 2rem 0;
}

thead th {
    background: linear-gradient(90deg, rgba(37,99,235,0.08), rgba(124,58,237,0.06));
    color: #0f172a;
    font-weight:700;
    padding: 14px 12px;
    text-align:left;
    font-size:0.95rem;
}

tbody tr {
    transition: background .12s ease, transform .08s ease;
}
tbody tr:nth-child(even) { background: #fbfbfd; }
tbody tr:hover { background: rgba(99,102,241,0.04); transform: translateY(-2px); }

td {
    padding: 12px;
    color: var(--muted);
}

button, .btn {
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight:700;
    cursor: pointer;
}

.btn-primary { background: var(--accent-1); color: #fff; box-shadow: 0 8px 24px rgba(37,99,235,0.18); }
.btn-primary:hover { transform: translateY(-3px); }

/* promo popup removed */


.modal {
    position: fixed;
    inset: 0; 
    display: none; 
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.75);
    z-index: 9999;
    padding: 20px;
}

.modal.show, .modal[style*="display:flex"] {
    display: flex;
}

.modal .modal-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 95vw;
    max-height: 95vh;
    width: auto;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.modal .modal-close,
.modal .modal-nav {
    position: absolute;
    top: 12px;
    background: rgba(255,255,255,0.9);
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    z-index: 2;
}
.modal .modal-close { right: 12px; top: 12px; }
.modal .modal-nav.modal-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.modal .modal-nav.modal-next { right: 8px; top: 50%; transform: translateY(-50%); }

.modal-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    display: block;
    border-radius: 6px;
}

footer {
    margin-top: 3rem;
    padding: 2rem 1rem;
    background: linear-gradient(180deg, rgba(15,23,42,0.03), rgba(15,23,42,0.02));
    text-align:center;
    color: var(--muted);
}

input, textarea {
    border: 1px solid rgba(15,23,42,0.07);
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff;
    outline: none;
}
input:focus, textarea:focus { box-shadow: 0 6px 20px rgba(124,58,237,0.08); border-color: rgba(124,58,237,0.3); }

.profile-card, .admin-actions, .profile-actions {
    background: linear-gradient(180deg, #fff, #fcfdff);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow);
}


.burger {
    display: none;
    width: 44px;
    height: 44px;
    padding: 6px;
    box-sizing: content-box;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px;
    background: transparent;
    z-index: 120; 
}

.burger .line1,
.burger .line2,
.burger .line3 {
    width: 26px;
    height: 3px;
    background: #0f172a;
    border-radius: 3px;
    transition: transform 0.28s ease, opacity 0.18s ease;
    display: block;
}
.burger .line1 { margin-bottom: 6px; }
.burger .line2 { margin-bottom: 6px; }

.burger.toggle .line1 { transform: rotate(45deg) translate(4px, 4px); }
.burger.toggle .line2 { opacity: 0; transform: translateX(-12px); }
.burger.toggle .line3 { transform: rotate(-45deg) translate(4px, -4px); }

.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (max-width: 900px) {
    .burger {
        display: flex;
        flex-direction: column; 
        gap: 6px;              
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 280px;
        max-width: 90%;
        background: rgba(255,255,255,0.98);
        padding: 2.25rem 1.25rem;
        gap: 1rem;
        flex-direction: column;
        align-items: flex-start;
        transform: translateX(100%);
        transition: transform .36s cubic-bezier(.2,.9,.2,1);
        box-shadow: -20px 0 40px rgba(2,6,23,0.12);
        z-index: 100;
        overflow-y: auto;
    }

    .nav-links.nav-active {
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
        opacity: 1;
    }
    .nav-links a {
        display: block;
        width: 100%;
        padding: 12px 10px;
        border-radius: 8px;
        color: #0f172a;
        font-weight: 700;
    }
    .nav-links a:hover {
        background: rgba(99,102,241,0.06);
    }
}

@media (max-width: 900px) {
    html, body { overflow-x: hidden; }
}

.cta {
    white-space: normal;
}
@media (max-width: 520px) {
    .cta {
        width: 100%;
        display: inline-flex;
        justify-content: center;
        padding: 12px;
        font-size: 15px;
    }
}

.gallery-row {
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}
@media (max-width: 600px) {
    .gallery-row { gap: 0.6rem; padding: 0.5rem 0; }
    .gallery-item { width: 200px !important; flex: 0 0 auto; border-radius: 8px; overflow: hidden; }
    .gallery-item img { height: 120px !important; object-fit: cover; }
}

@media (max-width: 420px) {
    html, body { font-size: 14px; }
    .container { padding: 1rem; }
    .hero { padding: 1.25rem 0.75rem; }
    .hero img { max-height: 200px; object-fit: cover; border-radius: 8px; }
    .features { gap: 0.75rem; margin: 1rem 0; }
    .feature { padding: 0.9rem; border-radius: 10px; }
    h1 { font-size: 1.2rem; }
    h2 { font-size: 1.05rem; }
}

@media (max-width: 600px) {
    .modal .modal-content {
        max-width: 95vw;
        max-height: 92vh;
        padding: 6px;
        border-radius: 8px;
    }
    .modal .modal-close,
    .modal .modal-nav { padding: 6px 8px; top: 8px; }
    .modal .modal-nav.modal-prev { left: 6px; }
    .modal .modal-nav.modal-next { right: 6px; }
    .modal-image {
        max-height: 72vh;
        width: auto;
    }
}

@media (max-width: 520px) {
    button, .btn, .upload-btn, .delete-btn, .add-btn {
        padding: 12px 14px;
        font-size: 15px;
    }
}

@media (max-width: 520px) {
    nav { padding: 0.5rem 0.75rem; }
    .logo-image { height: 40px; }
}

.about-image-pair {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}


.about-image-pair .about-pair {
    display: block;
    box-sizing: border-box;
    max-width: 400px;
    width: 100%;
    height: 280px;              
    object-fit: contain;       
    object-position: center;
    background: #ffffff;
    padding: 10px;             
    border-radius: 12px;        
    overflow: hidden;          
    box-shadow: 0 8px 24px rgba(15,23,42,0.06);
}

@media (max-width: 520px) {
    .about-image-pair .about-pair {
        height: auto;           
        max-width: 100%;
    }
}

.experience-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 0.75rem;
}

.exp-card {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    border: 1px solid rgba(15,23,42,0.04);
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 10px 28px rgba(2,6,23,0.06);
    transition: transform .18s ease, box-shadow .18s ease;
}
.exp-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(2,6,23,0.09); }

.exp-card .icon {
    flex: 0 0 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, rgba(24,68,198,1), rgb(35, 26, 199));
    box-shadow: 0 6px 18px rgba(15,23,42,0.08);
}

.exp-body h4 {
    margin: 0;
    font-size: 1.02rem;
    color: #0f172a;
    font-weight: 800;
    letter-spacing: -0.2px;
}

.exp-body ul {
    margin: 0.45rem 0 0 1.05rem;
    color: var(#111827);
    line-height: 1.5;
    padding: 0;
}

.exp-body ul li {
    margin-bottom: 0.35rem;
    font-size: 0.98rem;
}

@media (max-width: 900px) {
    .experience-section {
        grid-template-columns: 1fr;
    }
    .exp-card { padding: 10px; gap: 0.6rem; }
    .exp-card .icon { flex: 0 0 42px; height: 42px; font-size: 18px; }
}