/* ==========================================================================
   1. GOOGLE FONTS & VARIABLES
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');

:root {
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --text-color: #e2e8f0;
    --accent-color: #38bdf8; /* Neon Blue */
    --accent-hover: #0ea5e9;
    --gradient: linear-gradient(45deg, var(--accent-color), #a855f7); /* Blue to Purple gradient */
}

/* ==========================================================================
   2. GLOBAL RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
    /* Offset for fixed header scroll */
    scroll-padding-top: 85px; 
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden; /* Hide horizontal overflow */
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==========================================================================
   3. BACKGROUND & UTILITIES
   ========================================================================== */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1; /* Place behind all content */
    background-color: var(--bg-color);
}

.accent {
    color: var(--accent-color);
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-weight: 800;
}

/* ==========================================================================
   4. NAVIGATION BAR (HEADER)
   ========================================================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 10%; /* Ultra-slim padding */
    background: rgba(15, 23, 42, 0.1); 
    backdrop-filter: blur(5px);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.4rem; 
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap !important; /* Prevent line breaks */
    display: inline-flex !important;
    align-items: center;
    background: linear-gradient(90deg, #38bdf8, #ffffff, #a855f7, #38bdf8);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: color-flow 5s linear infinite;
}

.logo .accent {
    font-size: 3rem;
    font-weight: 400;
    vertical-align: middle;
    margin: 0 5px;
    background: inherit;    
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: #e2e8f0;
    transition: 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: #38bdf8;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: #e2e8f0;
    cursor: pointer;
}

.menu-toggle i {
    transition: transform 0.3s ease, color 0.3s ease;
}

.menu-toggle:hover i {
    color: #38bdf8;
    transform: rotate(180deg);
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    padding-top: 80px;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 50px;
}

.hero-content h4 {
    font-size: 1.2rem;
    color: var(--accent-color);
    font-weight: 600;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin: 10px 0;
    font-weight: 800;
}

.hero-content h2 {
    font-size: 1.8rem;
    color: #94a3b8;
    margin-bottom: 20px;
}

/* --- Hero Image (AI Orb Style) --- */
.hero-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 50%;
    border: 4px solid rgba(56, 189, 248, 0.5); 
    animation: ai-float 4s ease-in-out infinite;
    box-shadow: 
        0 0 30px var(--accent-color),
        0 0 60px rgba(56, 189, 248, 0.3),
        inset 0 0 20px rgba(56, 189, 248, 0.3);
}

.hero-image img:hover {
    box-shadow: 0 0 80px rgba(56, 189, 248, 0.8);
    transform: scale(1.05);
    outline-offset: 10px;
}

@keyframes ai-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
        box-shadow: 
            0 0 50px var(--accent-color),
            0 0 100px rgba(56, 189, 248, 0.6),
            inset 0 0 40px rgba(56, 189, 248, 0.6);
        border-color: var(--accent-color);
    }
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

/* --- Hero Social Icons --- */
.hero-socials {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.hero-socials a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: transparent;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    color: var(--accent-color);
    font-size: 1.2rem;
    transition: 0.3s;
    text-decoration: none;
}

.hero-socials a:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    transform: translateY(-5px);
    box-shadow: 0 0 15px var(--accent-color);
}

/* ==========================================================================
   6. BUTTONS
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent-color);
    color: #0f172a;
    border-radius: 50px;
    font-weight: 700;
    margin-top: 30px;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(56, 189, 248, 0.4);
}

.btn:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.6);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    margin-left: 15px;
}

.btn-outline:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    box-shadow: 0 0 15px var(--accent-color);
}

/* ==========================================================================
   7. ABOUT SECTION
   ========================================================================== */
.section { padding: 100px 10%; }

.about-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
}

.about-text {
    text-align: center;
    max-width: 900px;
}

.about-text p {
    font-size: 1.15rem;
    color: #cbd5e1;
    line-height: 1.9;
    margin-bottom: 25px;
}

.about-text strong {
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1100px;
}

.info-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(12px);
    padding: 35px 25px;
    border-radius: 20px;
    border: 1px solid rgba(56, 189, 248, 0.15);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--accent-color);
    box-shadow: 0 10px 40px rgba(56, 189, 248, 0.2), 
                0 0 20px rgba(56, 189, 248, 0.1);
    background: rgba(30, 41, 59, 0.6);
}

.info-card i {
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.info-card:hover i {
    transform: rotateY(360deg);
    transition: transform 0.8s ease;
    color: #fff;
}

.info-card h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* ==========================================================================
   8. JOURNEY / TIMELINE
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: auto;
}

/* Central Line */
.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--accent-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; text-align: left; }

/* Timeline Dot */
.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    position: absolute;
    top: 15px;
    right: -10px;
    z-index: 1;
    box-shadow: 0 0 10px var(--accent-color);
}

.timeline-item:nth-child(even) .timeline-dot { right: auto; left: -10px; }

.timeline-date {
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 5px;
    font-weight: bold;
}

.timeline-content {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
}

.timeline-content:hover {
    transform: scale(1.05);
    border-color: var(--accent-color);
}

/* ==========================================================================
   9. SKILLS SECTION
   ========================================================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.skill-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: 0.4s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.skill-card i {
    font-size: 3rem; 
    color: var(--accent-color);
    margin-bottom: 25px;
    width: 90px;
    height: 90px;
    line-height: 90px;
    background: rgba(56, 189, 248, 0.1);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: inline-block;
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

.skill-card:hover i {
    background: var(--accent-color);
    color: #0f172a;
    box-shadow: 0 0 30px var(--accent-color);
    transform: rotateY(360deg);
}

/* ==========================================================================
   10. PROJECTS SECTION
   ========================================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.project-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.4s;
    display: flex;          
    flex-direction: column; 
    height: 100%;           
}

.project-card:hover { transform: translateY(-10px); }

.project-img {
    height: 200px;
    background: linear-gradient(45deg, #1e293b, #38bdf8);
    background-size: cover;
    background-position: center;
    position: relative; 
}

/* Status Badge */
.status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(15, 23, 42, 0.9);
    color: #4ade80;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #4ade80;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.2);
    z-index: 10;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #4ade80;
    border-radius: 50%;
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.project-card:hover .status-badge {
    background: #4ade80;
    color: #0f172a;
    box-shadow: 0 0 20px #4ade80;
}
.project-card:hover .pulse-dot {
    background-color: #0f172a;
}

.project-card h3 { padding: 20px 20px 10px; font-size: 1.5rem; }
.project-card p { padding: 0 20px 20px; color: #94a3b8; }

.card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;           
}

/* Tech Stack Chips */
.tech-stack {
    margin: 15px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.tech-stack span {
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(56, 189, 248, 0.3);
    transition: 0.3s;
}

.tech-stack span:hover {
    background: var(--accent-color);
    color: #0f172a;
    transform: translateY(-2px);
}

.project-link {
    display: block;
    padding: 15px 20px;
    background: rgba(15, 23, 42, 0.5);
    color: var(--accent-color);
    font-weight: 600;
    transition: 0.3s;
    margin-top: auto !important; 
}
.project-link:hover { background: var(--accent-color); color: var(--bg-color); }

/* ==========================================================================
   11. CERTIFICATIONS
   ========================================================================== */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.cert-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(56, 189, 248, 0.1);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-color: var(--accent-color);
}

.cert-icon {
    font-size: 3rem;
    color: var(--accent-color); 
    margin-bottom: 25px;
    display: inline-block;
    width: 90px;              
    height: 90px;             
    line-height: 90px;        
    background: rgba(30, 41, 59, 0.5); 
    border-radius: 20px;      
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.5),      
        inset 0 0 20px rgba(56, 189, 248, 0.2); 
    border: 1px solid rgba(56, 189, 248, 0.3); 
    transition: 0.4s;
}

.cert-card:hover .cert-icon {
    background: var(--accent-color); 
    color: #0f172a;                  
    transform: translateY(-10px) rotate(10deg); 
    box-shadow: 0 0 40px var(--accent-color);   
}

.cert-card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.issuer {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.date {
    color: #64748b;
    font-size: 0.8rem;
    margin-top: 10px;
}

/* ==========================================================================
   12. CONTACT & FOOTER
   ========================================================================== */
.contact-container { text-align: center; }

.contact-form {
    max-width: 600px;
    margin: auto;
    text-align: center;
}

.input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.input-box input, textarea {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    color: var(--text-color);
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    margin: 10px 0;
    outline: none;
    resize: none;
}

.input-box input { width: 49%; }

.input-box input:focus, textarea:focus {
    border-color: var(--accent-color);
}

.social-links { display: flex; justify-content: center; gap: 20px; margin-top: 20px; }

.social-links a {
    width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--card-bg);
    font-size: 1.2rem;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover { background: var(--accent-color); color: var(--bg-color); transform: translateY(-5px); }

footer { text-align: center; padding: 30px; margin-top: 50px; color: #64748b; border-top: 1px solid rgba(255, 255, 255, 0.1);}

/* ==========================================================================
   13. UI ELEMENTS & EFFECTS
   ========================================================================== */
/* --- Custom Cursor --- */
.cursor-dot,
.cursor-dot-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
}

.cursor-dot-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent-color);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

body:active .cursor-dot-outline {
    width: 20px;
    height: 20px;
}

/* --- Scroll Progress Bar --- */
#progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 10001;
    background: transparent;
}

#progress-bar {
    height: 100%;
    background: var(--accent-color);
    width: 0%; 
    box-shadow: 0 0 10px var(--accent-color);
    transition: width 0.1s;
}
/* --- Scroll To Top Button --- */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--accent-color);
    color: var(--bg-color);
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 1.2rem;
    z-index: 1000;
    transition: 0.3s;
    opacity: 0; 
    pointer-events: none; 
}

.scroll-top.active {
    opacity: 1;
    pointer-events: auto;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px var(--accent-color);
}

/* ==========================================================================
   14. RESPONSIVE DESIGN & MEDIA QUERIES
   ========================================================================== */

/* --- Laptops & Tablets (Max Width: 1366px) --- */
@media (max-width: 1366px) {
    header {
        padding: 5px 4% !important;
        min-height: 50px;
    }
    .logo {
        font-size: 1rem;
    }
    .logo .accent {
        font-size: 1.5rem;
        margin: 0 2px;
    }
    nav ul li a {
        font-size: 0.85rem;
        padding: 5px 8px;
    }
    section#home, .home {
        padding-top: 140px !important;
    }
    .home-img, .img-box {
        margin-top: 30px;
    }
}

/* --- Tablets (Max Width: 1024px) --- */
@media (max-width: 1024px) {
    .menu-toggle {
        display: block !important;
        font-size: 1.8rem;
        cursor: pointer;
        color: var(--text-color);
        z-index: 1001;
    }
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: 80px 0 30px 0;
        gap: 20px;
        border-bottom: 2px solid var(--accent-color);
        transform: translateY(-100%);
        transition: 0.5s ease;
        opacity: 0;
        z-index: 999;
    }
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }
    .input-box input { width: 100%; }
}

/* --- Mobile Devices (Max Width: 968px) --- */
@media (max-width: 968px) {
    .navbar { padding: 0.8rem 5%; background: rgba(15, 23, 42, 0.9); }
    .hero-container { flex-direction: column-reverse; text-align: center; }
    .hero-content h1 { font-size: 3rem; }
    .hero-image img { max-width: 300px; margin-bottom: 30px; }
    .hero-socials { justify-content: center; flex-wrap: wrap; }
}

/* --- Mobile Devices (Max Width: 850px) --- */
@media (max-width: 850px) {
    .about-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

/* --- Small Mobile Devices (Max Width: 768px) --- */
@media (max-width: 768px) {
    .navbar { 
        padding: 1rem 5%; 
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #0f172a;
        z-index: 1000;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    header {
        padding: 5px 15px !important;
        background: rgba(15, 23, 42, 0.95);
        gap: 5px;
    }
    .logo {
        font-size: 0.9rem;
    }
    nav ul {
        gap: 5px;
        margin-top: 0;
    }
    nav ul li a {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
    .home {
        padding-top: 120px;
        min-height: 100vh;
        display: flex;
        align-items: center;
    }
    section#home, .home {
        padding-top: 170px !important;
    }
    .hero-content h1 { 
        font-size: 2.2rem;
        text-align: center;
    }
    .hero-container { 
        flex-direction: column-reverse;
        gap: 2rem;
    }
    .home-img {
        margin-top: 20px;
    }
    
    /* Timeline Adjustments */
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item:nth-child(odd) { text-align: left; }
    .timeline-item:nth-child(even) { left: 0; }
    .timeline-dot, .timeline-item:nth-child(even) .timeline-dot { left: 21px; right: auto; }
}
/* =========================================
   FINAL MOBILE FIX (Profile & Navbar Safe)
   ========================================= */
@media (max-width: 768px) {

    /* 1. Top Navigation Bar - Stay on Top */
    .navbar {
        padding: 15px 5%;
        background: #0f172a;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 70px; /* බාර් එකේ උස ෆික්ස් කරනවා */
        z-index: 9999; /* හැමදේටම වඩා උඩින් තියන්න */
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
    }

    /* 2. Profile Section - Safe Space from Top */
    section#home, .hero {
        /* වැදගත්ම දේ: බාර් එකට යට නොවෙන්න 160px ක ඉඩක් */
        padding-top: 160px !important; 
        
        padding-bottom: 50px;
        min-height: auto !important;
        height: auto !important;
        
        /* Flex Settings */
        display: flex;
        flex-direction: column-reverse; /* පින්තූරේ උඩට, අකුරු යටට */
        align-items: center;
        justify-content: center;
    }

    .hero-container {
        display: flex;
        flex-direction: column-reverse;
        width: 100%;
        align-items: center;
        gap: 20px;
    }

    /* 3. Profile Photo Fix (Size & Shape) */
    .hero-image {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-top: 10px;
        margin-bottom: 25px;
    }

    .hero-image img {
        /* පින්තූරේ සයිස් එක වෙනස් නොවී තියන්න */
        width: 260px !important;
        height: 260px !important;
        
        /* පින්තූරේ ඇදෙන්නේ නැතුව ලස්සනට කපන්න */
        object-fit: cover !important; 
        
        border-radius: 50%;
        border: 4px solid #00abf0;
        box-shadow: 0 0 20px #00abf0;
    }

    /* 4. Text Centering */
    .hero-content {
        text-align: center;
        width: 100%;
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 32px !important;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .hero-content h3 {
        font-size: 20px !important;
        text-align: center;
    }

    .hero-content p {
        text-align: center;
        font-size: 15px;
        line-height: 1.5;
    }

    .btn-box {
        justify-content: center;
        margin-top: 25px;
        width: 100%;
        display: flex;
        gap: 15px;
    }

    /* 5. Journey / Timeline Fix */
    .timeline::after {
        left: 31px !important;
    }

    .timeline-item {
        width: 100% !important;
        padding-left: 75px !important;
        padding-right: 15px !important;
        margin-bottom: 30px;
    }

    .timeline-item:nth-child(even) {
        left: 0 !important;
    }

    .timeline-dot {
        left: 21px !important;
    }
    
    .timeline-item:nth-child(even) .timeline-dot {
        left: 21px !important;
    }
}
/* --- Force Ultra Slim Navbar for Mobile/Tablet --- */
@media (max-width: 1024px) {
    
    .navbar {
        height: 55px !important;
        padding: 5px 15px !important;
        align-items: center !important;
    }

    .logo {
        font-size: 1.2rem !important;
    }

    .menu-toggle svg {
        width: 24px !important;
        height: 24px !important;
    }

    section#home, .hero {
        padding-top: 120px !important; 
    }
}