
.hero-premium {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    height: 100vh;
}
/* --- New Premium Mobile Fix --- */
@media screen and (max-width: 768px) {
    
    /* මුලින්ම කලින් තිබුණු heights සහ positions reset කරනවා */
    .hero-premium {
        height: auto !important;
        min-height: 100vh !important;
        display: block !important; /* Flex එක අයින් කරලා block කරනවා */
        padding: 80px 15px 40px 15px !important;
        text-align: center !important;
    }

    /* පින්තූරය පේළියේ මුලට (උඩට) ගන්නවා */
    .hero-image-box {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin-bottom: 30px !important;
        position: relative !important;
        right: auto !important;
        top: auto !important;
    }

    .hero-image-box img {
        width: 180px !important; /* Photo size එක mobile එකට ගැලපෙන්න */
        height: auto !important;
        mask-image: none !important; 
        -webkit-mask-image: none !important;
    }

    /* නම සහ විස්තර කොටස */
    .hero-content {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .hero-content h1 {
        font-size: 2.2rem !important; /* "Tiwanka Deshan" කියන නම පොඩි කරනවා */
        line-height: 1.1 !important;
        margin-top: 10px !important;
    }

    .devops-title {
        font-size: 1.2rem !important;
        margin-bottom: 20px !important;
    }

    /* Buttons එක යට එක මැදට ගන්නවා */
    .hero-action-btns {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
    }

    .btn-space {
        width: 100% !important;
        max-width: 260px !important;
        margin-right: 0 !important;
    }

    /* GitHub Stats දෙක දෙක පේළියට (2x2) */
    .stats-container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
    }
}

.status-badge {
    color: #00ff88;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-badge .dot {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff88;
}

.hero-content h1 {
    font-family: 'Michroma', sans-serif;
    font-size: 4.5rem; /* Size eka thawa poddak wedi kala */
    letter-spacing: -1px;
    margin-bottom: 10px;
    text-transform: none; /* Lahiru ge wage Capital/Simple mix eka ganna */
}

.hero-content h1 span {
    color: #00ff88;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.devops-title {
    font-family: 'Lexend', sans-serif;
    font-weight: 300;
    font-size: 1.8rem;
    color: #8b949e;
    margin-bottom: 25px;
}

.hero-description {
    max-width: 500px;
    color: #8b949e;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 35px;
}

.hero-action-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.social-links-hero {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.social-icon {
    font-size: 1.5rem;
    color: #fff;
    transition: 0.3s ease;
    opacity: 0.6;
}

.social-icon:hover {
    opacity: 1;
    color: #00ff88; /* Hover wenakota oyaage theme color eka peththu wei */
    transform: translateY(-3px);
}
.hero-image-box img {
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    filter: grayscale(20%); /* Poddak professional look ekak ganna */
}

.btn-cv {
    background: #00ff88;
    color: #000;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 8px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

/* Blink වන තිත සඳහා style එක */
.dot {
    width: 8px;
    height: 8px;
    background-color: #00ff88; /* කොළ පාට */
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    box-shadow: 0 0 10px #00ff88; /* Glow එකක් ලබා දීමට */
    animation: blinker 1.5s cubic-bezier(.5, 0, 1, 1) infinite alternate;
}

/* Blinking animation එක */
@keyframes blinker {
    from { opacity: 1; }
    to { opacity: 0.3; }
}

.github-stats-section {
    padding: 40px 10%; /* ඉහළ සහ පහළ පරතරය */
    display: flex;
    justify-content: center; /* සම්පූර්ණ section එකම මැදට ගනී */
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* එක පේළියට card 4ක් */
    gap: 15px; /* Card අතර පරතරය අඩු කළා */
    width: 100%;
    max-width: 900px; /* මෙය අඩු කිරීමෙන් cards එකිනෙකට ළං වේ */
    margin: 0 auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03); /* ලාවට පෙනෙන වීදුරු පෙනුම */
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 16px;
    transition: 0.3s ease;
    text-align: left;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 136, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.stat-icon {
    font-size: 1.2rem;
    margin-bottom: 15px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

/* Mobile වලදී ලස්සනට පේන්න (Responsive) */
@media (max-width: 900px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr); /* Tablet වලදී පේළියට 2 බැගින් */
        max-width: 500px;
    }
}
@media (max-width: 500px) {
    .stats-container {
        grid-template-columns: 1fr; /* Mobile වලදී එක බැගින් */
        max-width: 280px;
    }
}


/* Icons වල වර්ණ */
.star i { color: #ffca28; }
.repo i { color: #42a5f5; }
.followers i { color: #ab47bc; }
.forks i { color: #ff7043; }

.stat-number {
    font-family: 'Michroma', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

.stat-sub {
    font-size: 0.8rem;
    color: #8b949e;
    margin-top: 4px;
}


.btn-contact {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
}

.hero-image-box img {
    max-height: 80vh;
    filter: drop-shadow(0 0 30px rgba(0, 255, 136, 0.1));
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

/* Mobile responsive ke liye */
@media (max-width: 768px) {
    .hero-premium {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    .hero-image-box { order: -1; margin-bottom: 40px; }
}


:root {
    --bg: #010409;
    --accent: #00d2ff;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background-color: var(--bg); color: #fff; overflow-x: hidden; }

#galaxy-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }

.hero { height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.hero h1 {
    font-size: clamp(3rem, 12vw, 6rem); font-weight: 900;
    background: linear-gradient(to bottom, #fff, #444);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; letter-spacing: -3px;
}

.typewriter { font-size: 1.5rem; color: var(--accent); margin-top: 10px; height: 30px; text-shadow: 0 0 10px var(--accent); }

.container { padding: 80px 10%; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }

.card {
    background: var(--glass); backdrop-filter: blur(15px);
    border: 1px solid var(--border); padding: 40px; border-radius: 28px;
    text-align: center; transition: 0.5s;
}
.card:hover { transform: translateY(-10px); border-color: var(--accent); }
.card i { font-size: 3rem; color: var(--accent); margin-bottom: 20px; }

.btn {
    padding: 12px 30px; border-radius: 50px; background: #fff; color: #000;
    text-decoration: none; font-weight: 700; display: inline-block; margin-top: 20px;
}

/* මුළු Navbar එකම හරියට සකස් කිරීම */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 50px; /* උඩ සහ දෙපැත්තට පරතරය */
    background: rgba(1, 4, 9, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* නම සහ ලින්ක් දෙපැත්තට වෙන් කිරීම */
.nav-container {
    display: flex;
    justify-content: space-between; /* නම වමටත් ලින්ක් දකුණටත් තල්ලු කරයි */
    align-items: center;
    max-width: 1400px; /* සයිට් එකේ පළල අනුව මෙය වෙනස් කළ හැක */
    margin: 0 auto;
}

/* ලින්ක් ටික සකස් කිරීම */
.nav-links {
    list-style: none;
    display: flex;
    gap: 35px; /* ලින්ක් අතර පරතරය වැඩි කළා */
}

.nav-links li a {
    text-decoration: none;
    color: #8b949e;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    font-weight: 800;
    transition: 0.3s ease;
}

/* Active සහ Hover අවස්ථාවේ Glow එක */
.nav-links li a:hover, .nav-links li a.active {
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.6);
}
.logo {
    font-family: 'Syncopate', sans-serif; /* ඉතාමත් නවීන සහ පිරිසිදු ෆොන්ට් එකක් */
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px; /* අකුරු අතර පරතරය වැඩි කළා */
    color: #ffffff;
    text-decoration: none;
    transition: 0.4s ease;
    display: flex;
    align-items: center;
}

.logo span {
    color: #00ff88; /* DESHAN කොටස ඔබ කැමති කොළ පැහැයෙන් */
    margin-left: 8px;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.logo:hover {
    letter-spacing: 7px; /* මවුස් එක ගෙනිච්චම අකුරු ලාවට ඈත් වෙනවා */
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}


.hero h1 {
    font-family: 'Michroma', sans-serif;
    font-size: clamp(3rem, 15vw, 8rem); /* නම තවත් ලොකු කළා */
    font-weight: 900;
    text-transform: uppercase;
    
    /* 1. Gradient Highlight - අකුරු වලට පාට දෙකක් දීම */
    background: linear-gradient(180deg, #ffffff 30%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* 2. Strong Glow Highlight - අකුරු වටේට ආලෝකය */
    filter: drop-shadow(0 0 15px rgba(0, 210, 255, 0.5));
    
    /* 3. Animation එකක් - ලාවට ගැහෙන පෙනුමක් */
    animation: highlightPulse 3s infinite ease-in-out;
    letter-spacing: 10px;
    margin-bottom: 20px;
}

/* නම Highlight වෙලා පේන්න Background එකට ලොකු Glow එකක් */
.hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--accent);
    filter: blur(150px);
    opacity: 0.2;
    z-index: -1;
}

@keyframes highlightPulse {
    0%, 100% { filter: drop-shadow(0 0 15px rgba(0, 210, 255, 0.5)); transform: scale(1); }
    50% { filter: drop-shadow(0 0 30px var(--accent)); transform: scale(1.02); }
}


/* Premium Grid Background */
body {
    background-color: #02040a;
    margin: 0;
    overflow-x: hidden;
    color: #fff;
}

.grid-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* Meeka thamai grid eka hadana code eka */
    background-image: 
        linear-gradient(rgba(0, 210, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 210, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px; /* Grid eke size eka */
    z-index: -2;
}

/* Center Glow - Site ekata depth ekak ganna */
.main-glow {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw; height: 80vh;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.08) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Card tika thawa lassanata highlight karamu */
.card {
    background: rgba(13, 17, 23, 0.7); /* Thada pata damma */
    border: 1px solid rgba(0, 210, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.15);
    transform: translateY(-10px) scale(1.02);
}

/* Hire Me button එක තියෙන Container එක */
.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center; /* මැදට ගැනීම */
    align-items: center;
    margin-top: 30px;
}

/* Hire Me Button එකේ Style එක */
.hire-btn {
    padding: 12px 35px;
    background: var(--accent);
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.4s;
    border: 2px solid var(--accent);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
}

.hire-btn:hover {
    background: transparent;
    color: var(--accent);
    box-shadow: 0 0 30px var(--accent);
    transform: translateY(-3px);
}


/* 1. සයිට් එකට "Grainy" Texture එකක් දෙමු (ප්‍රීමියම් ලුක් එකට) */
body::after {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.05; /* ලාවට පේන්න */
    pointer-events: none;
    z-index: 9999;
}

/* 2. Custom Cursor Glow (Mouse එක වටේ එන එළිය) */
#cursor-blur {
    height: 300px;
    width: 300px;
    background-color: var(--accent);
    border-radius: 50%;
    position: fixed;
    filter: blur(150px);
    opacity: 0.15;
    pointer-events: none;
    z-index: -1;
    transition: all 0.1s linear;
}

/* 3. Hero Section එකේ අකුරු වලට "Stroke" ලුක් එකක් */
.hero h1 {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
}

/* 4. Cards වලට Glassmorphism තවත් වැඩි කරමු */
.card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
}

/* 5. Scrollbar එකත් Premium කරමු */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #010409;
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}


#music-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    cursor: pointer;
    z-index: 1000;
    transition: 0.3s;
}

#music-container:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
}

#music-text {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--accent);
}

/* Music Bars Animation */
.bar {
    width: 3px;
    height: 15px;
    background: var(--accent);
    border-radius: 5px;
    transition: 0.3s;
}

.playing .bar {
    animation: bounce 0.6s infinite alternate;
}

.playing .bar:nth-child(2) { animation-delay: 0.2s; }
.playing .bar:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
    from { height: 5px; }
    to { height: 20px; }
}

.tech-stack {
    padding: 80px 0;
    text-align: center;
}

.stack-title .badge {
    background: rgba(0, 210, 255, 0.1);
    color: var(--accent);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.stack-title h2 {
    font-family: 'Michroma';
    font-size: 2rem;
    margin: 15px 0;
}

/* Slider Container */
.slider {
    margin-top: 50px;
    height: 150px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.slider::before, .slider::after {
    content: "";
    height: 150px;
    position: absolute;
    width: 200px;
    z-index: 2;
}

/* දෙපැත්තට ලස්සනට මැකී යන (Fade) පෙනුමක් දෙන්න */
.slider::before { left: 0; background: linear-gradient(to right, var(--bg) 0%, transparent 100%); }
.slider::after { right: 0; top: 0; background: linear-gradient(to left, var(--bg) 0%, transparent 100%); }

.slide-track {
    display: flex;
    width: calc(250px * 16); /* Slide ගාන අනුව මේක වෙනස් වෙන්න ඕනේ */
    animation: scroll 30s linear infinite;
}

.slide {
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.slide i {
    font-size: 3rem;
    color: #555;
    transition: 0.3s;
}

.slide:hover i {
    color: var(--accent);
    transform: scale(1.1);
}

.slide span {
    font-size: 0.8rem;
    color: #555;
}

/* Infinite Scroll Animation */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-200px * 8)); }
}

/* GitHub Stats Section - Perfectly Centered */
.github-stats {
    padding: 60px 0;
    width: 100%;
    display: flex;
    justify-content: center; /* මුළු section එකම මැදට */
    align-items: center;
}

.stats-container {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; /* කාඩ් ටික මැදට ගොනු කරන්න */
    gap: 20px;
    max-width: 1100px; /* කාඩ් 4 පේළියට ඉන්න ඉඩ */
    width: 90%;
    margin: 0 auto;
}

.stat-card {
    background: rgba(13, 17, 23, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 25px;
    min-width: 200px; /* කාඩ් එකේ අවම පළල */
    flex: 0 1 240px; /* කාඩ් එක මැදට තියාගන්න මේක වැදගත් */
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
}

/* --- ඔයාගේ කලින් තිබුණු පාටවල් (වෙනස් කළේ නැත) --- */

/* 1. Stars - Gold */
.stat-card:nth-child(1) .stat-icon, .stat-card:nth-child(1) .stat-number { color: #FFD700; }
.stat-card:nth-child(1):hover { border-color: #FFD700; box-shadow: 0 0 20px rgba(255, 215, 0, 0.2); }

/* 2. Repositories - Cyan */
.stat-card:nth-child(2) .stat-icon, .stat-card:nth-child(2) .stat-number { color: #00D2FF; }
.stat-card:nth-child(2):hover { border-color: #00D2FF; box-shadow: 0 0 20px rgba(0, 210, 255, 0.2); }

/* 3. Followers - Purple */
.stat-card:nth-child(3) .stat-icon, .stat-card:nth-child(3) .stat-number { color: #BF5AF2; }
.stat-card:nth-child(3):hover { border-color: #BF5AF2; box-shadow: 0 0 20px rgba(191, 90, 242, 0.2); }

/* 4. Forks - Pink/Red */
.stat-card:nth-child(4) .stat-icon, .stat-card:nth-child(4) .stat-number { color: #FF375F; }
.stat-card:nth-child(4):hover { border-color: #FF375F; box-shadow: 0 0 20px rgba(255, 55, 95, 0.2); }

/* පොදු Text Styles */
.stat-icon { font-size: 1.2rem; margin-bottom: 15px; }
.stat-number { font-size: 1.9rem; font-weight: 800; font-family: 'Michroma'; margin-bottom: 4px; }
.stat-label { font-size: 0.9rem; font-weight: 600; color: #fff; }
.stat-sub { font-size: 0.75rem; color: #8b949e; }

.stat-card:hover { transform: translateY(-8px); }

.hero-btns {
    margin-top: 30px;
}

.gallery-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 35px;
    background: linear-gradient(45deg, #00d2ff, #00ff88); /* Cyan to Green Gradient */
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Michroma', sans-serif;
    font-size: 0.85rem;
    border-radius: 50px;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
}

.gallery-btn i {
    font-size: 1.1rem;
}

.gallery-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 255, 136, 0.4);
    color: #000;
    letter-spacing: 2px;
}

/* බටන් එක ලාවට පත්තුවෙන (Pulse) ඇනිමේෂන් එකක් */
@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(0, 255, 136, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

.hero-btns {
    /* මෙන්න මෙතන -60px වගේ අගයක් දාලා බලන්න */
    margin-top: -70px; 
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 100;
}

.gallery-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    background: linear-gradient(45deg, #00d2ff, #00ff88);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Michroma', sans-serif;
    font-size: 0.75rem;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
    transition: 0.3s ease;
}

.gallery-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
}

/* CI/CD Workflow Section - Full Center Fix */
.workflow-section {
    padding: 80px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* හරහට මෑදට (Horizontal center) */
    justify-content: center;
    text-align: center;
}

.pipeline-card {
    background: rgba(13, 17, 23, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    width: 90%; /* Mobile වලදී ලස්සනට පේන්න */
    max-width: 650px; /* කාඩ් එක ඕනෑවට වඩා ලොකු වෙන්න නොදී තියාගන්න */
    margin: 40px auto; /* ඉබේම මෑදට සෙට් වෙන්න */
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.workflow-header {
    margin-bottom: 20px;
}

.workflow-header h2 {
    font-family: 'Michroma';
    font-size: 1.8rem;
    margin-top: 10px;
    color: #fff;
}


.footer-section {
    padding: 80px 10% 40px;
    text-align: center;
    background: #000;
}

.footer-section h1 { font-family: 'Lexend'; font-size: 2.5rem; margin-bottom: 15px; }
.footer-desc { color: #8b949e; font-size: 0.9rem; line-height: 1.6; margin-bottom: 50px; }

.footer-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-box { flex: 1; min-width: 300px; display: flex; flex-direction: column; gap: 15px; }

.contact-item {
    background: rgba(13, 17, 23, 0.8);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.icon-circle {
    width: 45px; height: 45px;
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}

.details small { color: #8b949e; display: block; margin-bottom: 2px; }
.details p { margin: 0; font-weight: 600; font-size: 1rem; }

.social-box {
    background: rgba(13, 17, 23, 0.8);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.social-icons { display: flex; justify-content: center; gap: 20px; margin-top: 15px; }
.social-icons a { color: #fff; font-size: 1.5rem; transition: 0.3s; }
.social-icons a:hover { color: #00ff88; }

.map-box {
    flex: 1.2;
    min-width: 300px;
    height: 400px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.map-overlay {
    position: absolute; bottom: 20px; left: 20px;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.location-tag { display: flex; align-items: center; gap: 12px; text-align: left; font-size: 0.75rem; }
.location-tag i { color: #00ff88; font-size: 1.2rem; }

.copyright { margin-top: 60px; color: #484f58; font-size: 0.8rem; }

/* පරණ .about-card එක අයින් කරලා මේක දාන්න */
.about-card {
    background: rgba(13, 17, 23, 0.85); /* කළු පාටට හුරු වීදුරු පෙනුම */
    backdrop-filter: blur(25px);
    border-radius: 40px;
    display: flex; 
    gap: 50px;
    padding: 60px; 
    max-width: 1100px;
    position: relative;
    z-index: 1;

    /* Glow Effect එක මෙතන තියෙන්නේ */
    border: 1.5px solid rgba(0, 255, 136, 0.2);
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.15);
    animation: borderGlow 4s infinite alternate; /* Glow එක animate වෙනවා */
    transition: all 0.5s ease;
}

/* Glow එක පත්තුවෙලා නිවෙන Animation එක */
@keyframes borderGlow {
    0% {
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.1);
        border-color: rgba(0, 255, 136, 0.2);
    }
    100% {
        box-shadow: 0 0 60px rgba(0, 255, 136, 0.3);
        border-color: rgba(0, 255, 136, 0.6);
    }
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 80px rgba(0, 255, 136, 0.4);
}

/* Image එක වටේටත් Glow එක දාමු */
.img-container img {
    width: 300px; 
    height: 380px; 
    object-fit: cover;
    border-radius: 30px;
    border: 2px solid rgba(0, 255, 136, 0.3);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
    transition: 0.5s;
}

.img-container:hover img {
    border-color: #00ff88;
    box-shadow: 0 0 50px rgba(0, 255, 136, 0.5);
}

/* View Gallery බටන් එක සඳහා */
.secondary {
    background: transparent; /* ඇතුළ පේන විදිහට (Transparent) */
    color: #fff; /* අකුරු සුදු පාට */
    border: 2px solid rgba(0, 255, 136, 0.5); /* ලාවට කොළ පාට බෝඩර් එකක් */
    padding: 12px 30px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.secondary:hover {
    background: rgba(0, 255, 136, 0.1); /* මවුස් එක ගෙනිච්චම ලාවට කොළ පාට වෙන්න */
    border-color: #00ff88; /* බෝඩර් එකේ පාට තද වෙනවා */
    color: #00ff88; /* අකුරු කොළ පාට වෙනවා */
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}


.interests-section {
    padding: 80px 10%;
    text-align: center;
}

.focus-tag {
    color: #00ff88;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.interests-header h2 {
    font-family: 'Michroma';
    font-size: 2rem;
    margin: 10px 0;
}

.interests-header p {
    color: #8b949e;
    font-size: 0.9rem;
    margin-bottom: 50px;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.interest-card {
    background: rgba(13, 17, 23, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: left;
    transition: 0.4s;
    cursor: default;
}

.interest-card:hover {
    transform: translateY(-10px);
    background: rgba(13, 17, 23, 0.9);
    border-color: rgba(0, 255, 136, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.i-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.03);
}

/* Icons Colors */
.blue i { color: #00d2ff; }
.purple i { color: #a371f7; }
.green i { color: #00ff88; }
.yellow i { color: #ffb700; }

.interest-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.interest-card p {
    color: #8b949e;
    font-size: 0.8rem;
    line-height: 1.6;
}

.interests-section {
    padding: 80px 10%;
    text-align: center;
}

.focus-tag {
    color: #00ff88;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.interests-header h2 {
    font-family: 'Michroma';
    font-size: 2rem;
    margin: 10px 0;
}

.interests-header p {
    color: #8b949e;
    font-size: 0.9rem;
    margin-bottom: 50px;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.interest-card {
    background: rgba(13, 17, 23, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: left;
    transition: 0.4s;
    cursor: default;
}

.interest-card:hover {
    transform: translateY(-10px);
    background: rgba(13, 17, 23, 0.9);
    border-color: rgba(0, 255, 136, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.i-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.03);
}

/* Icons Colors */
.blue i { color: #00d2ff; }
.purple i { color: #a371f7; }
.green i { color: #00ff88; }
.yellow i { color: #ffb700; }

.interest-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.interest-card p {
    color: #8b949e;
    font-size: 0.8rem;
    line-height: 1.6;
}

/* ලොකු තද අකුරු තියෙන Font එකක් Import කිරීම */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@700&display=swap');

.hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(6rem, 25vw, 12rem); /* අකුරු ගොඩක් ලොකු කළා */
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -2px; /* අකුරු ටිකක් ළං කළා solid ගතිය එන්න */
    
    /* Highlight වැඩිය නැති, පිරිසිදු සුදු පාට */
    color: #ffffff;
    
    /* අකුරු කැපී පේන්න පොඩි Shadow එකක් විතරයි */
    text-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
    
    /* හෙමින් ලොකු කුඩා වෙන සරල Animation එක */
    animation: solidPulse 4s ease-in-out infinite;
}

@keyframes solidPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03); /* ඉතාම පොඩ්ඩක් ලොකු වෙනවා */
    }
}


#loader {
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* මැද තියෙන Box එක සහ Text එක */
.loader-content {
    position: absolute;
    z-index: 10;
    text-align: center;
    transition: 0.5s;
}

.loading-box {
    width: 50px;
    height: 50px;
    border: 3px solid #00d2ff;
    margin: 0 auto 20px;
    animation: boxAnim 2s infinite ease-in-out;
}

.loader-content p {
    color: #00d2ff;
    font-family: 'Michroma', sans-serif;
    letter-spacing: 5px;
    font-size: 0.8rem;
    animation: blink 1s infinite;
}

/* පසුබිම් DIV කොටස් දෙක */
.loader-bg {
    position: absolute;
    width: 100%;
    height: 50%;
    background: #010409;
    transition: 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.loader-bg.top { top: 0; border-bottom: 1px solid rgba(0, 210, 255, 0.2); }
.loader-bg.bottom { bottom: 0; border-top: 1px solid rgba(0, 210, 255, 0.2); }

/* සයිට් එක ලෝඩ් වුණාම දාන Class එක */
.loader-finished .loader-bg.top { transform: translateY(-100%); }
.loader-finished .loader-bg.bottom { transform: translateY(100%); }
.loader-finished .loader-content { opacity: 0; visibility: hidden; }
.loader-finished { pointer-events: none; }

/* ඇනිමේෂන්ස් */
@keyframes boxAnim {
    0% { transform: rotate(0deg); border-radius: 0; }
    50% { transform: rotate(180deg); border-radius: 50%; border-color: #00ff88; }
    100% { transform: rotate(360deg); border-radius: 0; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Full Screen Wrapper */
#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #000000; /* කළු පසුබිම */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Loader Styles */
.loader {
  display: flex;
  gap: 15px; /* තිත් අතර පරතරය */
}

.loader .dot {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  border: 2px solid #212121;
  background: #16b0c1; /* මුල් වර්ණය (Cyan) */
  animation: jump 0.8s ease-in-out infinite alternate;
}

@keyframes jump {
  100% {
    background: #661e92; /* උඩට යන විට වර්ණය (Purple) */
    transform: translateY(-3rem) scale(1.9);
  }
}

/* Animation Delays */
.loader .dot:nth-child(1) { animation-delay: 0.1s; }
.loader .dot:nth-child(2) { animation-delay: 0.2s; }
.loader .dot:nth-child(3) { animation-delay: 0.3s; }
.loader .dot:nth-child(4) { animation-delay: 0.4s; }
.loader .dot:nth-child(5) { animation-delay: 0.5s; }

/* Premium Services Section Styling */
.services-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-family: 'Michroma', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 60px;
    background: linear-gradient(to right, #fff, var(--accent));
    -webkit-background-clip: text; /* බොහෝ Browser සඳහා */
    background-clip: text;         /* Standard එක සඳහා (සමහර Editor වල Error පෙන්විය හැක) */
    -webkit-text-fill-color: transparent;
}

.services-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 40px 30px;
    width: 340px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
    transform: translateY(-15px);
    border-color: var(--accent);
    box-shadow: 0 15px 40px rgba(0, 210, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.card-icon i {
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 25px;
    filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.3));
}

.service-card h3 {
    font-family: 'Lexend', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: #8b949e;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Location Tag Styling */
.location-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 210, 255, 0.1);
    color: var(--accent);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 210, 255, 0.2);
}

.inquire-btn {
    width: 100%;
    padding: 12px;
    border-radius: 15px;
    border: none;
    background: #fff;
    color: #000;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.inquire-btn:hover {
    background: var(--accent);
    color: #fff;
    transform: scale(1.02);
}

.about-me-section {
    padding-top: 40px !important; /* ඉහළ padding එක අඩු කළා */
    margin-top: -30px !important; /* තවත් ලං කිරීමට පොඩි සෘණ margin එකක් */
    position: relative;
    z-index: 5;
}


.live-age-display {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.main-age {
    font-size: 2.5rem;
    font-weight: 800;
    color: #00ff88; /* Neon Green */
    font-family: 'Michroma', sans-serif;
}

.main-age small { font-size: 0.8rem; color: #8b949e; margin-right: 15px; margin-left: 5px; }

.sub-age {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 1.2rem;
    color: #00ff88;
}

.sub-age small { font-size: 0.6rem; color: #8b949e; margin-left: 3px; }

.birth-footer {
    font-size: 0.8rem;
    color: #484f58;
    margin-top: 10px;
}

.highlight { color: #00ff88; font-weight: 600; }


/* About Me Section Premium Styling */
.about-me-section {
    padding: 120px 0;
    position: relative;
}

.who-i-am {
    color: #00ff88;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 4px;
    display: block;
    margin-bottom: 10px;
    text-align: center;
}

.section-title-premium {
    font-family: 'Michroma', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #fff;
}

.about-content-wrapper {
    max-width: 1000px;
    margin: 0 auto 20px auto; /* පල්ලෙහා margin එක 20px ලෙස සකසා ඇත */
    padding: 0 20px;
}

.about-description {
    text-align: center;
    margin-bottom: 60px;
}

.about-description p {
    color: #8b949e;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.highlight-text {
    color: #00ff88;
    font-weight: 600;
}

/* Premium Stat Card */
.premium-stat-card {
    background: rgba(13, 17, 23, 0.7); /* තද පසුබිම */
    backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(0, 255, 136, 0.1); /* ලාවට පෙනෙන කොළ පැහැති බෝඩර් එක */
    
    /* මෙන්න Glow effect එක */
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.05); 
    transition: all 0.4s ease-in-out;
    position: relative;
    overflow: hidden;
}

.premium-stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 136, 0.4);
    box-shadow: 0 0 50px rgba(0, 255, 136, 0.2); /* තද Glow එකක් */
}

/* Age Card එකට ලස්සන Glow සහ Floating Animation එකක් ලබා දීම */
.premium-stat-card {
    background: rgba(13, 17, 23, 0.8) !important; /* පසුබිම තවත් තද කළා */
    backdrop-filter: blur(20px);
    border: 1.5px solid rgba(0, 255, 136, 0.2); /* ලාවට පෙනෙන කොළ පාට බෝඩර් එක */
    border-radius: 30px;
    padding: 50px 40px;
    
    /* මුලින්ම තියෙන ලාවට Glow එක */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 136, 0.1);
    
    /* Animation එක ක්‍රියාත්මක කිරීම (Floating & Breathing Glow) */
    animation: premiumFloat 4s ease-in-out infinite alternate;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

/* Mouse එක ගෙනිච්චම Glow එක තදින් පත්තුවෙන විදිහ */
.premium-stat-card:hover {
    border-color: rgba(0, 255, 136, 0.7);
    box-shadow: 0 0 60px rgba(0, 255, 136, 0.3); /* තද Neon Glow එකක් */
    transform: scale(1.03) translateY(-5px);
}
/* අවුරුදු සහ මාස වල ඉලක්කම් වලට Glow එකක් දීම */
.time-block span {
    font-family: 'Michroma', sans-serif;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* තත්පර (Secs) කොටස Blink වීම */
.highlight-secs span {
    color: #00ff88 !important;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
    animation: textPulse 1.5s infinite alternate;
}

@keyframes textPulse {
    from { opacity: 1; filter: brightness(1.2); }
    to { opacity: 0.5; filter: brightness(0.8); }
}

.card-tag {
    color: #00ff88;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.timer-main {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.time-block {
    text-align: center;
}

.time-block span {
    font-family: 'Michroma', sans-serif;
    font-size: 3rem;
    color: #fff;
    display: block;
    line-height: 1;
}

.time-block label {
    color: #484f58;
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-top: 10px;
    display: block;
}

.timer-sub {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sub-block {
    text-align: center;
}

.sub-block span {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    display: block;
}

.sub-block small {
    color: #484f58;
    font-size: 0.6rem;
    text-transform: uppercase;
}

.highlight-secs span {
    color: #00ff88; /* Seconds only in green */
}

.card-footer {
    margin-top: 30px;
    text-align: center;
    font-size: 0.75rem;
    color: #30363d;
    font-family: monospace;
}


.gallery-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.photo-card-premium.hidden {
    display: none; /* මුලින් පේන්නේ නැහැ */
}

/* බටන් එක එබූ පසු පෙන්වන ඇනිමේෂන් එක */
.photo-card-premium.show {
    display: block;
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.view-all-btn {
    background: rgba(13, 17, 23, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #00ff88;
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    transition: 0.3s;
    margin-top: 40px;
}

.view-all-btn:hover {
    background: #00ff88;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}


/* Gallery Section Premium Styling */
.gallery-section {
    padding-top: 30px;      /* ඉහළ පරතරය 100px සිට 30px දක්වා අඩු කර ඇත */
    padding-bottom: 100px;
    text-align: center;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #8b949e;
    padding: 8px 25px;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.85rem;
}

.filter-btn.active {
    background: #00ff88;
    color: #000;
    font-weight: 700;
    border-color: #00ff88;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
}

.gallery-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.photo-card {
    background: rgba(13, 17, 23, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    text-align: left;
    transition: 0.4s;
}

.photo-card:hover {
    border-color: #00ff88;
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.photo-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.photo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.photo-card:hover .photo-img img {
    transform: scale(1.1);
}

.badge-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    color: #fff;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.photo-details {
    padding: 25px;
}

.photo-details h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #fff;
}

.photo-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.8rem;
    color: #8b949e;
}

.photo-meta span i {
    color: #00ff88;
    margin-right: 10px;
    width: 15px;
}

.view-more-btn {
    background: rgba(13, 17, 23, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #8b949e;
    padding: 12px 30px;
    border-radius: 50px;
    margin-top: 50px;
    cursor: pointer;
    transition: 0.3s;
}

.view-more-btn:hover {
    color: #00ff88;
    border-color: #00ff88;
}


/* Extra photos mulinma hide karanna */
.extra-photo.hidden {
    display: none;
}

/* Button eka obapu gaman photos ena animation eka */
.extra-photo.show {
    display: block;
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


/* Gallery Section Styles */
.gallery-section {
    padding: 100px 0;
    background: transparent;
}

.visual-log-tag {
    color: #00ff88;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 5px;
    display: block;
    margin-bottom: 10px;
    text-align: center;
}

.premium-gallery-title {
    font-family: 'Michroma', sans-serif;
    font-size: 3rem;
    color: #fff;
    margin-bottom: 15px;
    text-align: center;
}

.premium-gallery-subtitle {
    color: #8b949e;
    font-size: 1rem;
    margin-bottom: 50px;
    text-align: center;
}

/* Tabs */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
}

.tab-btn {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: 0.3s ease;
}

.tab-btn.active {
    background: #00ff88;
    color: #000;
    font-weight: bold;
    border-color: #00ff88;
}

/* Cards Grid */
.gallery-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.photo-card-premium {
    background: rgba(13, 17, 23, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.4s ease;
    text-align: left;
}

.photo-card-premium:hover {
    transform: translateY(-10px);
    border-color: #00ff88;
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}

.card-media {
    position: relative;
    height: 250px;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    color: #fff;
    padding: 5px 12px;
    border-radius: 10px;
    font-size: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-body {
    padding: 25px;
}

.card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 15px;
    color: #fff;
}

.card-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.85rem;
    color: #8b949e;
}

.card-meta i {
    color: #00ff88;
    margin-right: 8px;
    width: 18px;
}

.view-gallery-dropdown {
    margin-top: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
}

.view-gallery-dropdown:hover {
    background: #00ff88;
    color: #000;
}


/* Gallery Section Styles */
.gallery-section {
    padding: 100px 0;
    background: transparent;
}

.visual-log-tag {
    color: #00ff88;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 5px;
    display: block;
    margin-bottom: 10px;
    text-align: center;
}

.premium-gallery-title {
    font-family: 'Michroma', sans-serif;
    font-size: 3rem;
    color: #fff;
    margin-bottom: 15px;
    text-align: center;
}

.premium-gallery-subtitle {
    color: #8b949e;
    font-size: 1rem;
    margin-bottom: 50px;
    text-align: center;
}

/* Tabs */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
}

.tab-btn {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: 0.3s ease;
}

.tab-btn.active {
    background: #00ff88;
    color: #000;
    font-weight: bold;
    border-color: #00ff88;
}

/* Cards Grid */
.gallery-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.photo-card-premium {
    background: rgba(13, 17, 23, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.4s ease;
    text-align: left;
}

.photo-card-premium:hover {
    transform: translateY(-10px);
    border-color: #00ff88;
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}

.card-media {
    position: relative;
    height: 250px;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    color: #fff;
    padding: 5px 12px;
    border-radius: 10px;
    font-size: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-body {
    padding: 25px;
}

.card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 15px;
    color: #fff;
}

.card-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.85rem;
    color: #8b949e;
}

.card-meta i {
    color: #00ff88;
    margin-right: 8px;
    width: 18px;
}

.view-gallery-dropdown {
    margin-top: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
}

.view-gallery-dropdown:hover {
    background: #00ff88;
    color: #000;
}


/* අමතර පින්තූර මුලින් සැඟවීමට */
.extra-photo.hidden {
    display: none !important;
}

/* පින්තූර මතුවන විට එන Animation එක */
.extra-photo {
    animation: fadeInUp 0.5s ease-in-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* බොත්තමේ පෙනුම (වීඩියෝ එකේ වගේ) */
.premium-view-btn {
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 35px;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Michroma', sans-serif;
    font-size: 0.8rem;
}

.premium-view-btn:hover {
    background: #00ff88;
    color: #000;
}


/* About section එකේ පහළ පරතරය අඩු කිරීම */
.about-me-section {
    padding-bottom: 20px !important; /* පල්ලෙහා ඉඩ අවම කළා */
}

/* Age card එකේ පහළ margin එකක් ඇත්නම් එය ඉවත් කිරීම */
.premium-stat-card {
    margin-bottom: 0 !important;
}

/* Gallery section එක ඉහළට තල්ලු කිරීම */
.gallery-section {
    padding-top: 0 !important;      /* ඉහළ padding ඉවත් කළා */
    margin-top: -80px !important;   /* සෘණ margin එකක් මගින් ඉහළට ලං කළා */
}

/* Gallery Header එකේ ඉහළ පරතරය අඩු කිරීම */
.gallery-header {
    margin-top: 0 !important;
}

/* Gallery Section Glassmorphism Style */
.gallery-section {
    padding: 60px 0;
}

.visual-log-tag {
    color: #00ff88;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 5px;
    display: block;
    margin-bottom: 10px;
    text-align: center;
}

.premium-gallery-title {
    font-family: 'Michroma', sans-serif;
    font-size: 2.5rem;
    color: #fff;
    text-align: center;
    margin-bottom: 10px;
}

.premium-gallery-subtitle {
    color: #8b949e;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 40px;
}

/* Photo Cards Grid */
.gallery-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.photo-card-premium {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.4s ease;
}

.photo-card-premium:hover {
    transform: translateY(-10px);
    border-color: #00ff88;
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.card-media {
    position: relative;
    height: 240px;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.7rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-body {
    padding: 20px;
}

.card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #fff;
}

.card-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.8rem;
    color: #8b949e;
}

.card-meta i {
    color: #00ff88;
    margin-right: 8px;
}

/* Extra Photos logic */
.extra-photo.hidden {
    display: none !important;
}

/* Button Style */
.view-gallery-dropdown {
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Michroma', sans-serif;
    font-size: 0.75rem;
    transition: 0.3s;
}

.view-gallery-dropdown:hover {
    background: #00ff88;
    color: #000;
}


/* Space Button Base Styles */
.btn-space {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 15rem;
  overflow: hidden;
  height: 3.5rem;
  background-size: 300% 300%;
  cursor: pointer;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
  transition: 0.5s;
  animation: gradient_301 5s ease infinite;
  border: double 4px transparent;
  background-image: linear-gradient(#000, #000),
    linear-gradient(137.48deg, #00ff88 10%, #00d2ff 45%, #00ff88 67%, #00d2ff 87%);
  background-origin: border-box;
  background-clip: content-box, border-box;
  position: relative;
  text-decoration: none;
  margin-right: 15px;
}

#container-stars {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: 0.5s;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
}

.btn-space strong {
  z-index: 2;
  font-family: 'Michroma', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: #ffffff;
  text-shadow: 0 0 4px white;
  display: flex;
  align-items: center;
  gap: 10px;
}

#glow {
  position: absolute;
  display: flex;
  width: 12rem;
}

.circle {
  width: 100%;
  height: 30px;
  filter: blur(2rem);
  animation: pulse_3011 4s infinite;
  z-index: -1;
}

/* Colors for CV Button (Green Glow) */
.circle:nth-of-type(1) {
  background: rgba(0, 255, 136, 0.6);
}

.circle:nth-of-type(2) {
  background: rgba(0, 210, 255, 0.5);
}

/* Hover Effects */
.btn-space:hover #container-stars {
  z-index: 1;
  background-color: #000;
}

.btn-space:hover {
  transform: scale(1.1);
}

.btn-space:active {
  border: double 4px #00ff88;
  animation: none;
}

/* Star Background Elements */
#stars {
  position: relative;
  background: transparent;
  width: 200rem;
  height: 200rem;
}

#stars::after {
  content: "";
  position: absolute;
  top: -10rem;
  left: -100rem;
  width: 100%;
  height: 100%;
  animation: animStarRotate 90s linear infinite;
  background-image: radial-gradient(#ffffff 1px, transparent 1%);
  background-size: 50px 50px;
}

#stars::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 170%;
  height: 500%;
  animation: animStar 60s linear infinite;
  background-image: radial-gradient(#ffffff 1px, transparent 1%);
  background-size: 50px 50px;
  opacity: 0.5;
}

/* Animations */
@keyframes animStar {
  from { transform: translateY(0); }
  to { transform: translateY(-135rem); }
}

@keyframes animStarRotate {
  from { transform: rotate(360deg); }
  to { transform: rotate(0); }
}

@keyframes gradient_301 {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulse_3011 {
  0% { transform: scale(0.75); box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.5); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 0, 0, 0); }
  100% { transform: scale(0.75); box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .hero-action-btns {
        flex-direction: column;
        gap: 20px;
    }
    .btn-space {
        margin-right: 0;
    }
}



.devops-arsenal-premium {
    padding: 100px 0;
    background: transparent;
    text-align: center;
}

.mission-tag {
    color: #00ff88;
    font-size: 0.7rem;
    letter-spacing: 4px;
    font-weight: 900;
}

.spotlight-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 60px 0;
    /* Depaththa fade wenna mask ekak damma */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.spotlight-track {
    display: flex;
    align-items: center;
    gap: 60px; /* Icons athara paratharaya */
    padding: 40px 0;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.tech-item {
    min-width: 120px;
    opacity: 0.15;
    filter: grayscale(1);
    transition: all 0.6s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.tech-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 20px;
}

.tech-item span {
    font-family: 'Michroma', sans-serif;
    font-size: 0.7rem;
    color: #00ff88;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.4s;
}

/* Active Icon (The Spotlight) */
.tech-item.active {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.4);
}

.tech-item.active img {
    filter: drop-shadow(0 0 15px rgba(0, 255, 136, 0.5));
}

.tech-item.active span {
    opacity: 1;
    transform: translateY(0);
}

/* Rounded border eka */
.tech-item.active::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2.5px solid #00ff88;
    border-radius: 25px;
    top: -20px;
    z-index: -1;
    background: rgba(0, 255, 136, 0.05);
    box-shadow: inset 0 0 15px rgba(0, 255, 136, 0.2);
}
/* Gallery Grid eka thawa piliwalakata */
.gallery-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    align-items: stretch; /* Cards okkoma eka height ekata enawa */
}

/* Image Container eka fix size ekakata ganna */
.card-media {
    position: relative;
    height: 250px; /* Uniform height ekak */
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Image eka adenne nathiwa box ekata fit wenawa */
    transition: transform 0.5s ease;
}

/* Photo Card eka glassmorphism look ekata */
.photo-card-premium {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Section Overlap Fix */
.devops-arsenal-premium, .gallery-section {
    padding: 100px 0 !important;
    margin: 0 !important;
    position: relative;
    clear: both;
}

/* Spotlight Container Style */
.spotlight-container {
    position: relative;
    width: 100%;
    height: 350px; /* Icons loku weddi idak thiyaganna */
    overflow: hidden;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

.spotlight-track {
    display: flex;
    align-items: center;
    gap: 80px; /* Icons athara piliwala paratharaya */
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

.tech-item {
    min-width: 120px;
    opacity: 0.2;
    filter: grayscale(1);
    transition: all 0.6s ease;
    text-align: center;
    position: relative;
}

.tech-item img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    margin-bottom: 20px;
}

/* Center Highlight Effect */
.tech-item.active {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.4);
}

.tech-item.active::after {
    content: '';
    position: absolute;
    width: 110px;
    height: 110px;
    border: 2px solid #00ff88;
    border-radius: 20px;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 255, 136, 0.05);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

/* Photo Gallery Piliwala Fix */
.card-media {
    height: 250px !important;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover !important; /* Photo eka piliwalata box ekata fit wenawa */
}

/* Header Spacing Fix */
.arsenal-header {
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px; /* Akuru athara paratharaya */
}

.mission-tag {
    color: #00ff88;
    font-family: 'Michroma', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 5px;
    font-weight: 800;
    text-transform: uppercase;
    display: block;
}

.arsenal-title {
    font-family: 'Michroma', sans-serif;
    font-size: 2.8rem;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.arsenal-subtitle {
    color: #8b949e;
    font-size: 0.95rem;
    font-family: 'Lexend', sans-serif;
    margin: 0;
}

/* AWS & Icons Spacing */
.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Icon eka saha akuru athara ida */
    transition: 0.5s ease;
}

.tech-item span {
    font-family: 'Michroma', sans-serif;
    font-size: 0.75rem;
    color: #00ff88;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

/* Active Highlight Box (The Clean Look) */
.tech-item.active::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid #00ff88;
    border-radius: 20px;
    top: -15px;
    background: rgba(0, 255, 136, 0.03);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
    z-index: -1;
}


/* Gallery section eke uda gap eka adu kirima */
.gallery-section {
    padding-top: 40px !important;    /* 100px thibuna eka 40px kala */
    padding-bottom: 40px !important;
    margin-top: 0 !important;
}

/* Premium Services section eka uda thiyena gap eka adu kirima */
.services-section {
    padding-top: 40px !important;    /* Meka uda section ekata lankara gani */
    padding-bottom: 60px !important;
    margin-top: 0 !important;
}

/* Section headers athara gap eka adu kirima */
.gallery-header, .services-section .container h2 {
    margin-bottom: 30px !important;
}

#muteBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 20px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1000;
}


/* --- Ultra Mobile Responsive Fix --- */
@media screen and (max-width: 768px) {
    
    /* 1. මුළු පිටුවම හරහට යන එක (Horizontal Scroll) නවත්වන්න */
    html, body {
        overflow-x: hidden !important;
        width: 100vw;
        position: relative;
    }

    /* 2. Hero Section එක එක යට එක එන විදිහට (Vertical) හදන්න */
    .hero-premium {
        display: flex !important;
        flex-direction: column !important; /* Image එක උඩට, Text පල්ලෙහාට */
        height: auto !important;
        min-height: 100vh;
        padding: 120px 20px 50px 20px !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
    }

    /* 3. Text කොටස (නම සහ විස්තර) මැදට ගැනීම */
    .hero-content {
        width: 100% !important;
        order: 2; /* Text එක දෙවෙනියට */
        padding: 0 !important;
        margin: 0 !important;
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
    }

    /* 4. නම අකුරු කැපෙන්නේ නැති වෙන්න පොඩි කිරීම */
    .hero-content h1 {
        font-size: 2.5rem !important;
        line-height: 1.1 !important;
        margin-top: 20px !important;
    }

    /* 5. පින්තූරය තියෙන කොටස මැදට ගැනීම */
    .hero-image-box {
        width: 100% !important;
        order: 1; /* පින්තූරය මුලින්ම පේන්න */
        display: flex !important;
        justify-content: center !important;
        margin: 0 !important;
        position: relative !important;
        right: 0 !important;
        top: 0 !important;
    }

    .hero-image-box img {
        width: 80% !important;
        max-width: 300px !important;
        height: auto !important;
        margin: 0 auto !important;
        mask-image: none !important; /* සමහර වෙලාවට fade එක කැත වෙන්න පුළුවන් mobile වලදී */
        -webkit-mask-image: none !important;
    }

    /* 6. Buttons දෙක එක යට එක මැදට ගැනීම */
    .hero-action-btns {
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
        width: 100% !important;
        margin-top: 25px !important;
    }

    .btn-space {
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 !important;
    }

    /* 7. GitHub Stats (17+, 18+ ඒවා) පේළියට 2 බැගින් */
    .stats-container {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
        width: 95% !important;
        margin: 0 auto !important;
        padding: 20px 0 !important;
    }

    /* 8. About Me සහ අනිත් Sections මැදට කිරීම */
    .about-content-wrapper, .container {
        width: 100% !important;
        padding: 0 15px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
}

/* --- Ultra Mobile Responsive Fix by Gemini --- */
@media screen and (max-width: 768px) {
    
    /* මුළු screen එකේම ඉඩ හරියට ගන්න */
    .hero-premium, .github-stats-section, .about-me-section, .gallery-section, .services-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        display: block !important;
    }

    /* Hero Section එක පිළිවෙලට හදන්න */
    .hero-premium {
        display: flex !important;
        flex-direction: column !important; /* එක යට එක */
        padding-top: 100px !important;
        text-align: center !important;
    }

    /* Photo එක මැදට ගන්න */
    .hero-image-box {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin-bottom: 30px !important;
    }

    .hero-image-box img {
        width: 200px !important; /* Photo එකේ ප්‍රමාණය හරි ගස්සන්න */
        height: auto !important;
        border-radius: 50%; /* Photo එක රවුම් කරන්න අවශ්‍ය නම් */
    }

    /* නම සහ විස්තර */
    .hero-content {
        width: 100% !important;
    }

    .hero-content h1 {
        font-size: 2.2rem !important; /* නම පොඩි කරන්න */
        line-height: 1.2 !important;
    }

    .hero-description {
        font-size: 0.9rem !important;
        margin: 15px auto !important;
        max-width: 100% !important;
    }

    /* Buttons දෙක මැදට */
    .hero-action-btns {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        align-items: center !important;
    }

    .btn-space {
        width: 90% !important; /* Phone එකේ පළලට ගැළපෙන්න */
        margin-right: 0 !important;
    }

    /* Stats (17+, 18+ ඒවා) දෙක දෙක පේළියට */
    .stats-container {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
        padding: 20px 0 !important;
    }

    /* Navbar එක mobile වලදී display හංගන්න */
    .nav-links {
        display: none !important;
    }
}
/* --- Desktop & Mobile Toggle Fix --- */

/* 1. Desktop එකේදී (Screen එක 769px වලට වඩා ලොකු නම්) */
@media screen and (min-width: 769px) {
    /* Hamburger icon එක හංගන්න */
    .mobile-menu-icon {
        display: none !important;
    }

    /* Navbar links ටික සාමාන්‍ය විදිහට පේළියට පෙන්වන්න */
    .nav-links {
        display: flex !important;
        position: static !important;
        flex-direction: row !important;
        background: transparent !important;
        width: auto !important;
        height: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        right: auto !important;
    }
}

/* 2. Mobile එකේදී (Screen එක 768px වලට වඩා කුඩා නම්) */
@media screen and (max-width: 768px) {
    /* Hamburger icon එක පෙන්වන්න */
    .mobile-menu-icon {
        display: block !important;
    }

    /* මුලින් Navbar links ටික හංගලා තියන්න (Active වුණාම විතරක් පෙන්වන්න) */
    .nav-links {
        display: none !important; /* මේක වැදගත් */
    }

    .nav-links.active {
        display: flex !important;
        position: fixed !important;
        right: 0 !important;
        top: 0 !important;
        width: 70% !important;
        height: 100vh !important;
        background: rgba(1, 4, 9, 0.95) !important;
        flex-direction: column !important;
    }
}

/* --- Mobile Navbar Styles --- */
@media screen and (max-width: 768px) {
    /* Navbar එකේ පළල හරිගස්සන්න */
    .nav-container {
        padding: 0 20px !important;
    }

    /* මෙනු එක මුලින් හංගන්න */
    .nav-links {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        right: -100% !important; /* දකුණු පැත්තේ හැංගිලා තියෙන්නේ */
        height: 100vh !important;
        width: 70% !important;
        background: rgba(1, 4, 9, 0.95) !important;
        backdrop-filter: blur(15px) !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        transition: 0.4s ease-in-out !important;
        z-index: 2000 !important;
    }

    /* මෙනු එක active වුණාම පෙන්නන්න */
    .nav-links.active {
        right: 0 !important;
    }

    /* මෙනු එකේ ලින්ක් එක යට එක */
    .nav-links li {
        margin: 20px 0 !important;
    }

    /* Hamburger icon එක පෙන්වන්න */
    .mobile-menu-icon {
        display: block !important;
        font-size: 1.5rem !important;
        color: #00ff88 !important;
        cursor: pointer !important;
        z-index: 2001 !important;
    }
}

