
/* =========================================
   GLOBAL STYLES
========================================= */

:root {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #e8edf7;
    background: #080f1e;
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

html {
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    background: #080f1e;
    color: #e8edf7;
}

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

button,
input,
textarea {
    font: inherit;
}

img {
    max-width: 100%;
}

.ramu-site {
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(
            ellipse at 85% 5%,
            rgba(35, 91, 166, 0.13),
            transparent 35%
        ),
        #080f1e;
}

.ramu-section,
.ramu-hero {
    width: min(1160px, calc(100% - 64px));
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   HEADER AND DESKTOP NAVIGATION
========================================= */

.ramu-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 76px;
    padding: 0 max(32px, calc((100vw - 1160px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: rgba(8, 15, 30, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.ramu-brand {
    color: #78b4ff;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -1px;
    flex-shrink: 0;
}

.ramu-header nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.ramu-header nav a {
    color: #aebbd0;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.ramu-header nav a:hover {
    color: #78b4ff;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 17px;
    border: 1px solid rgba(120, 180, 255, 0.4);
    border-radius: 8px;
    color: #9bc8ff;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.linkedin-link:hover {
    background: rgba(67, 135, 220, 0.14);
    border-color: #78b4ff;
}

/* Hidden on desktop */
.mobile-menu-toggle {
    display: none;
}

.mobile-linkedin {
    display: none;
}

/* =========================================
   HERO SECTION
========================================= */

.ramu-hero {
    min-height: 620px;
    padding-top: 95px;
    padding-bottom: 95px;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    align-items: center;
    gap: 75px;
}

.hero-content {
    max-width: 700px;
}

.eyebrow {
    margin: 0 0 22px;
    color: #79b4ff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.6;
}

.hero-content h1 {
    margin: 0;
    color: #f2f6ff;
    font-size: clamp(3.7rem, 7vw, 6rem);
    font-weight: 800;
    letter-spacing: -5px;
    line-height: 1.03;
}

.hero-content h1 span {
    color: #78b4ff;
}

.hero-role {
    margin: 25px 0 18px;
    color: #d8e2f2;
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    font-weight: 600;
}

.hero-role span {
    padding: 0 7px;
    color: #6685ad;
}

.hero-description {
    max-width: 610px;
    margin: 0;
    color: #aab8cd;
    font-size: 1.08rem;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.primary-action,
.secondary-action {
    min-height: 46px;
    padding: 12px 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 650;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.primary-action {
    color: #071326;
    background: #78b4ff;
    border: 1px solid #78b4ff;
}

.primary-action:hover {
    background: #a0ccff;
    border-color: #a0ccff;
    transform: translateY(-2px);
}

.secondary-action {
    color: #dce8fa;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.17);
}

.secondary-action:hover {
    background: rgba(120, 180, 255, 0.1);
    border-color: #78b4ff;
    transform: translateY(-2px);
}

.experience-note {
    margin: 27px 0 0;
    color: #8292aa;
    font-size: 0.87rem;
    line-height: 1.7;
}

/* =========================================
   PROFILE PHOTO
========================================= */

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 320px;
    justify-self: center;
    padding: 12px;
    border: 1px solid rgba(120, 180, 255, 0.3);
    border-radius: 22px;
    background: linear-gradient(
        145deg,
        rgba(65, 125, 205, 0.2),
        rgba(255, 255, 255, 0.025)
    );
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
}

.ramu-profile-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    display: block;
    object-fit: cover;
    object-position: center top;
    border-radius: 14px;
}

.hero-image-caption {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 15px 7px 5px;
}

.hero-image-caption span:first-child {
    color: #8fc1ff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.hero-image-caption span:last-child {
    color: #8292aa;
    font-size: 0.68rem;
    letter-spacing: 1px;
}

/* =========================================
   COMMON SECTION STYLES
========================================= */

.ramu-section {
    padding-top: 95px;
    padding-bottom: 95px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.ramu-section h2 {
    margin: 0 0 28px;
    color: #edf3ff;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 750;
    letter-spacing: -1.3px;
    line-height: 1.25;
}

.ramu-section > p:not(.eyebrow) {
    max-width: 850px;
    margin: 0 0 20px;
    color: #aab8cd;
    font-size: 1rem;
    line-height: 1.9;
}

/* =========================================
   ABOUT SECTION
========================================= */

#about {
    max-width: 1160px;
}

#about h2 {
    max-width: 800px;
}

#about > p:not(.eyebrow) {
    max-width: 900px;
}

/* =========================================
   EXPERIENCE SECTION
========================================= */

.experience-section {
    padding-bottom: 105px;
}

.experience-section h2 {
    margin-bottom: 16px;
}

.experience-intro {
    max-width: 780px;
    margin-bottom: 42px !important;
}

.experience-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-left: 9px;
    padding-left: 30px;
    border-left: 1px solid rgba(120, 180, 255, 0.32);
}

.experience-card {
    position: relative;
    padding: 28px 30px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.experience-card:hover {
    border-color: rgba(120, 180, 255, 0.4);
    transform: translateY(-2px);
}

.experience-card.current-role {
    background: linear-gradient(
        120deg,
        rgba(35, 91, 166, 0.13),
        rgba(255, 255, 255, 0.025)
    );
    border-color: rgba(120, 180, 255, 0.28);
}

.experience-marker {
    position: absolute;
    top: 31px;
    left: -37px;
    width: 13px;
    height: 13px;
    border: 3px solid #080f1e;
    border-radius: 50%;
    background: #78b4ff;
    box-shadow: 0 0 0 2px rgba(120, 180, 255, 0.35);
}

.experience-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.experience-period {
    display: inline-block;
    margin-bottom: 10px;
    color: #80b8ff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.experience-header h3 {
    margin: 0 0 7px;
    color: #edf3ff;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}

.experience-header h4 {
    margin: 0 0 7px;
    color: #bdcbe0;
    font-size: 0.98rem;
    font-weight: 600;
}

.experience-location {
    color: #8292aa;
    font-size: 0.85rem;
}

.experience-tag {
    padding: 7px 11px;
    color: #8dc2ff;
    background: rgba(64, 135, 220, 0.12);
    border: 1px solid rgba(120, 180, 255, 0.25);
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

.experience-card ul {
    margin: 20px 0;
    padding-left: 21px;
    color: #aab8cd;
}

.experience-card li {
    padding-left: 5px;
    margin-bottom: 11px;
    font-size: 0.92rem;
    line-height: 1.75;
}

.experience-card li::marker {
    color: #78b4ff;
}

.experience-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
}

.experience-tech span {
    padding: 7px 11px;
    color: #a9cfff;
    background: rgba(71, 137, 218, 0.1);
    border: 1px solid rgba(120, 180, 255, 0.15);
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 550;
}

.experience-subheading {
    margin: 18px 0 12px;
    color: #9db0ca;
    font-size: 0.88rem;
    font-weight: 600;
}

.previous-roles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.previous-roles > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
}

.previous-roles strong {
    color: #dce8fa;
    font-size: 0.9rem;
}

.previous-roles span {
    color: #8292aa;
    font-size: 0.8rem;
}

/* =========================================
   SKILLS / EXPERTISE
========================================= */

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 32px;
}

.skill-list span {
    padding: 12px 17px;
    color: #c5d9f4;
    background: rgba(75, 135, 210, 0.09);
    border: 1px solid rgba(120, 180, 255, 0.2);
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 550;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.skill-list span:hover {
    background: rgba(75, 135, 210, 0.18);
    border-color: rgba(120, 180, 255, 0.55);
    transform: translateY(-2px);
}

/* =========================================
   CONTINUOUS LEARNING / CERTIFICATIONS
========================================= */

#certifications {
    scroll-margin-top: 100px;
}

#certifications > p:not(.eyebrow) {
    max-width: 850px;
    margin-bottom: 35px;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.certification-card {
    min-width: 0;
    padding: 25px;
    display: flex;
    flex-direction: column;
    background: #111d31;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.certification-card:hover {
    background: #14243c;
    border-color: rgba(120, 180, 255, 0.55);
    transform: translateY(-3px);
}

.certification-provider {
    display: block;
    margin-bottom: 10px;
    color: #79b4ff;
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 1.2px;
}

.certification-card h3 {
    margin: 5px 0 12px;
    color: #f1f5ff;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.5;
}

.certification-description {
    display: block;
    flex-grow: 1;
    margin: 8px 0 20px;
    color: #c1ccdc;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.75;
}

.certification-details {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: #c1ccdc;
    font-size: 0.83rem;
    line-height: 1.6;
}

.certification-details span {
    display: block;
    color: #c1ccdc;
    font-size: 0.83rem;
    font-weight: 500;
    visibility: visible;
    opacity: 1;
    overflow-wrap: anywhere;
}

.certification-year {
    display: block;
    margin-top: auto;
    padding-top: 12px;
    color: #c1ccdc;
    font-size: 0.85rem;
}

/* =========================================
   CERTIFICATION PROVIDER BRANDING
========================================= */

.certification-brand {
    min-height: 32px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 17px;
    color: #e8edf7;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.microsoft-symbol {
    width: 25px;
    height: 25px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 3px;
    flex-shrink: 0;
}

.microsoft-symbol i {
    display: block;
}

.microsoft-symbol i:nth-child(1) {
    background: #f25022;
}

.microsoft-symbol i:nth-child(2) {
    background: #7fba00;
}

.microsoft-symbol i:nth-child(3) {
    background: #00a4ef;
}

.microsoft-symbol i:nth-child(4) {
    background: #ffb900;
}

.vskills-symbol,
.appcelerator-symbol {
    width: 29px;
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 1.05rem;
    font-weight: 900;
    flex-shrink: 0;
}

.vskills-symbol {
    background: #a8d64b;
    color: #101b0c;
}

.appcelerator-symbol {
    background: #78b4ff;
    color: #071326;
}

.vskills-brand,
.appcelerator-brand {
    color: #e8edf7;
}

/* =========================================
   CONTACT SECTION
========================================= */

.contact-section {
    padding-top: 110px;
    padding-bottom: 110px;
}

.contact-section h2 {
    max-width: 750px;
    margin-bottom: 18px;
}

.contact-section > p:not(.eyebrow) {
    max-width: 700px;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
}

.contact-section h2 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 24px;
}

.contact-section h2 span {
    color: #72aaff;
}

.contact-description {
    max-width: 680px;
    color: #aab8cc;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 38px;
}

.contact-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
    padding: 38px;
    border: 1px solid rgba(114, 170, 255, 0.2);
    border-radius: 18px;
    background: linear-gradient(
        135deg,
        rgba(24, 45, 78, 0.95),
        rgba(12, 25, 45, 0.98)
    );
}

.contact-card-content {
    flex: 1;
}

.contact-label {
    display: inline-block;
    color: #72aaff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.contact-card h3 {
    color: #f0f4fb;
    font-size: 1.65rem;
    margin-bottom: 12px;
}

.contact-card-content p {
    color: #aab8cc;
    line-height: 1.7;
    margin-bottom: 22px;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #8dbaff;
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-email:hover {
    color: #ffffff;
}

.contact-card-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 195px;
}

.contact-card-actions a {
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}

/* =========================================
   FOOTER
========================================= */

.ramu-footer {
    min-height: 85px;
    padding: 24px max(32px, calc((100vw - 1160px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: rgba(255, 255, 255, 0.025);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #8292aa;
    font-size: 0.82rem;
}

/* =========================================
   NOT FOUND / PLACEHOLDER PAGES
========================================= */

.not-found-page,
.placeholder-page {
    min-height: 75vh;
    padding: 80px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.not-found-page > p:first-child {
    margin: 0 0 12px;
    color: #78b4ff;
    font-size: 4rem;
    font-weight: 800;
}

.not-found-page h1,
.placeholder-page h1 {
    margin: 0 0 15px;
    color: #edf3ff;
    font-size: 2.2rem;
}

.not-found-page p:last-child,
.placeholder-page p {
    max-width: 550px;
    color: #aab8cd;
    font-size: 1rem;
    line-height: 1.8;
}

/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .ramu-header {
        padding-left: 25px;
        padding-right: 25px;
        gap: 18px;
    }

    .ramu-header nav {
        gap: 16px;
    }

    .ramu-header nav a {
        font-size: 0.82rem;
    }

    .ramu-hero {
        gap: 40px;
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .hero-image-container {
        max-width: 260px;
    }

    .ramu-section {
        padding-top: 75px;
        padding-bottom: 75px;
    }
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 768px) {

    .ramu-section,
    .ramu-hero {
        width: calc(100% - 40px);
    }

    /* Mobile header */
    .ramu-header {
        position: sticky;
        top: 0;
        z-index: 1000;
        min-height: 76px;
        padding: 16px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 16px;
    }

    .ramu-brand {
        font-size: 1.7rem;
    }

    /* Hamburger button */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 9px;
        flex-shrink: 0;
        border: 1px solid rgba(114, 170, 255, 0.3);
        border-radius: 9px;
        background: rgba(20, 38, 65, 0.95);
        cursor: pointer;
        z-index: 1002;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: #e8edf7;
        border-radius: 2px;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    /* Closed menu by default */
    .ramu-header .ramu-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 8px 24px 16px;
        margin: 0;
        background: #0c1729;
        border-top: 1px solid rgba(114, 170, 255, 0.15);
        border-bottom: 1px solid rgba(114, 170, 255, 0.2);
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.35);
        z-index: 1001;
    }

    /* Open only when is-open class is present */
    .ramu-header .ramu-navigation.is-open {
        display: flex;
    }

    .ramu-header .ramu-navigation a {
        display: block;
        width: 100%;
        padding: 15px 8px;
        margin: 0;
        color: #b9c8dc;
        font-size: 0.95rem;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .ramu-header .ramu-navigation a:hover {
        color: #78b4ff;
    }

    .ramu-header .ramu-navigation a:last-child {
        border-bottom: none;
    }

    .ramu-header .ramu-navigation .mobile-linkedin {
        display: block;
        color: #72aaff;
        font-weight: 700;
    }

    /* Hide desktop LinkedIn button */
    .ramu-header > .linkedin-link {
        display: none;
    }

    /* Hero */
    .ramu-hero {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 45px;
        padding-top: 65px;
        padding-bottom: 70px;
    }

    .hero-content h1 {
        font-size: clamp(3.5rem, 13vw, 5rem);
        letter-spacing: -3px;
    }

    .hero-role {
        font-size: 1.15rem;
        line-height: 1.6;
    }

    .hero-description {
        font-size: 0.98rem;
    }

    .hero-image-container {
        width: min(100%, 280px);
        max-width: 280px;
    }

    /* General sections */
    .ramu-section {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .ramu-section h2 {
        font-size: 2rem;
    }

    /* Experience */
    .experience-timeline {
        margin-left: 5px;
        padding-left: 23px;
    }

    .experience-card {
        padding: 22px;
    }

    .experience-marker {
        left: -30px;
    }

    .experience-header {
        flex-direction: column;
        gap: 12px;
    }

    .experience-tag {
        align-self: flex-start;
    }

    .previous-roles {
        grid-template-columns: 1fr;
    }

    /* Certifications */
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .certification-card {
        padding: 22px;
    }

    /* Contact */
    .contact-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-actions a {
        width: 100%;
    }

    .contact-section {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .contact-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 26px;
        gap: 28px;
    }

    .contact-card-actions {
        width: 100%;
        min-width: 0;
    }

    .contact-card-actions a {
        width: 100%;
    }

    .contact-card h3 {
        font-size: 1.4rem;
    }

    /* Footer */
    .ramu-footer {
        padding: 22px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 400px) {

    .ramu-section,
    .ramu-hero {
        width: calc(100% - 32px);
    }

    .ramu-header {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-content h1 {
        font-size: 3.35rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions a {
        width: 100%;
    }

    .ramu-section h2 {
        font-size: 1.8rem;
    }

    .experience-card {
        padding: 18px;
    }

    .certification-card {
        padding: 19px;
    }

    .skill-list {
        gap: 9px;
    }

    .skill-list span {
        padding: 9px 12px;
        font-size: 0.8rem;
    }
}
