h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    color: #007acc;
}

h2::after {
    content: '';
    width: 50px;
    height: 4px;
    background-color: #007acc;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

#certs {
    background-color: #fff;
    padding: 60px;
    margin: 30px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 14px rgba(0,0,0,0.09);
    border-radius: 10px;
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 30px;
    margin-top: 20px;
    columns: 3;

}

.cert-card {
    background-color: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    align-items: center;
    /* gap: 10px; */
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

  
}


.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: #007acc;
}

.cert-icon {
    flex-shrink: 0;
}

.cert-icon img {
    width: 60px;
    height: 60px;
}

.cert-details {
    flex: 1;
}

.cert-details h3 {
    margin: 0 0 8px 0;
    font-size: 1.3em;
    color: #007acc;
}

.cert-issuer {
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
    margin: 5px 0;
}

.cert-date {
    font-size: 1em;
    color: #807d7d;
    margin: 5px 0;
}


#education {
    background-color: #fff;
    padding: 60px;
    margin: 30px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 14px rgba(0,0,0,0.09);
    border-radius: 10px;
    max-height: 400px;

}

.education-item {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: -20px 0;
    max-width: 900px;
}

.education-logo {
    width: 80px;
    height: auto;
    border-radius: 12px;
    background: #fff;
    border: 2px solid #007acc;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.09);
}

.education-details {
    flex: 1;
}

.school-name {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.education-timestamp {
    font-size: 1em;
    color: #807d7d;
    margin-bottom: 8px;
}

.education-description {
    font-size: 1.1em;
    color: #444;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
   
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f4f8; /* Light background color */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1557683304-673a23048d34?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwxOTcwMjR8MHwxfGFsbHwzfHx8fHx8fHwxNjE3NzkzNTYz&ixlib=rb-1.2.1&q=80&w=1080');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}



header {
    background: linear-gradient(135deg, #003d6b 0%, #005f99 50%, #007acc 100%);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    animation: slideIn 1.5s ease-out;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

header h1 {
    margin: 0;
    font-size: 3em;
}

header p {
    font-size: 1.2em;
    margin: 10px 0;
}

.header-tagline {
    font-size: 1.3em;
    font-weight: 300;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.9);
    margin: 12px 0 8px 0;
}

.header-links {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.75);
}
@keyframes slideIn {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

nav {
    display: flex;
    justify-content: center;
    padding: 15px 0;
    background-color: #005f99;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    margin: 0 18px;
    font-size: 0.95em;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

nav a:hover {
    color: #fff;
    border-bottom-color: #ffcc00;
}

nav a.active {
    color: #ffcc00;
    border-bottom-color: #ffcc00;
}

section {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 60px;
    margin: 30px 0;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.skills-group {
    margin-bottom: 30px;
}

.skills-group-label {
    font-size: 0.85em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #999;
    margin-bottom: 14px;
    text-align: center;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.skill-card {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    padding: 12px 8px;
    width: 100px;
    min-height: 95px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07);
    border-radius: 10px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.skill-card img {
    width: 50px;
    height: auto;
    margin-bottom: 5px;
}

.skill-card h3 {
    text-align: center;
    font-size: 0.72em;
    font-weight: 600;
    margin: 0;
    color: #444;
    line-height: 1.3;
    word-break: break-word;
}

.skill-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.13);
    border-color: #007acc;
}


.projects-section {
    background-color: #f9f9f9;
    padding: 60px 20px;
    border-radius: 8px;
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;

}

.project-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.project-card .description {
    padding: 20px;
    text-align: left;
}

.project-card h3 {
    margin: 0 0 10px;
    font-size: 1.3em;
    color: #333;
}

.project-card p {
    margin: 0;
    font-size: 0.95em;
    color: #555;
    line-height: 1.6;
}

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

.button-container {
    text-align: center;
    padding: 16px 20px 20px;
    background-color: transparent;
}

.project-card a {
    display: inline-block;
    padding: 12px 20px;
    font-size: 0.9em;
    color: #fff;
    background-color: #007acc;
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.project-card a:hover {
    background-color: #005f99;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.tag {
    background-color: #e8f4fd;
    color: #007acc;
    border: 1px solid #b3d9f2;
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 0.8em;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.button-container a {
    color: #fff;
    background-color: #007acc;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.button-container a:hover {
    background-color: #005f99;
}

footer {
    text-align: center;
    padding: 40px;
    background-color: #007acc;
    color: #fff;
}

.about-section {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: center;
    background-color: #fffcfcde;
    padding: 30px;
    border-radius: 8px;

}

.about-section img {
    position: relative;
    border-radius: 12px;
    width: 280px;
    height: 280px;
    object-fit: cover;
    object-position: center top;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    image-rendering: auto;
}

.about-section div.text-content {
    flex: 1;
    font-size: 1.2em;
    color: #333;
    line-height: 1.6;
    text-align: left;
    padding: 20px;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    
}

.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background: linear-gradient(to bottom, #007acc 0%, #003d6b 100%);
    box-shadow: 0 0 8px rgba(0, 122, 204, 0.3);
    border-radius: 3px;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}

.timeline-item {
    padding: 22px 30px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    z-index: 1;
}

.timeline-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.13);
}

.timeline-item:nth-child(odd) {
    left: -1%;
}

.timeline-item:nth-child(even) {
    left: 51%;
}

/* Arrow connector pointing toward center line */
.timeline-item::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    top: 26px;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 11px solid rgba(255, 255, 255, 0.95);
    right: -11px;
    filter: drop-shadow(2px 0 1px rgba(0,0,0,0.06));
}

.timeline-item:nth-child(even)::before {
    border-left: none;
    border-right: 11px solid rgba(255, 255, 255, 0.95);
    left: -11px;
    right: auto;
}

/* Dot on the center line */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    right: -7px;
    top: 26px;
    border-radius: 50%;
    background: #007acc;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #007acc, 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    z-index: 2;
}

.timeline-item:nth-child(even)::after {
    left: -7px;
    right: auto;
}

/* Dot scales up on card hover */
.timeline-item:hover::after {
    transform: scale(1.4);
    box-shadow: 0 0 0 3px #007acc, 0 0 14px rgba(0, 122, 204, 0.5);
}

/* Pulse on current role (first item = CBRE) */
.timeline-item:first-child::after {
    animation: dotPulse 2.5s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% {
        box-shadow: 0 0 0 3px #007acc, 0 0 0 0 rgba(0, 122, 204, 0.45);
    }
    50% {
        box-shadow: 0 0 0 3px #007acc, 0 0 0 9px rgba(0, 122, 204, 0);
    }
}

.timeline-item h3 {
    margin-top: 0;
    font-size: 1.5em;
    color: #007acc;
}

.timeline-item p {
    margin: 5px 0;
    font-size: 1em;
    color: #555;
}

.timeline-item .experience-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.timeline-item .company-logo {
    width: 65px; 
    height: auto;
    margin-top: -50px;
    margin-right: 15px;
    border-radius: 50%; 
    border: 2px solid #007acc; 
    padding: 5px; 
    background-color: #fff; 
}

.timeline-item .experience-details {
    flex: 1;
}

.timeline-item .company-name {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
}

.timeline-item .timestamp {
    font-size: 1.3em;
    color: #807d7d;
}

.timeline-item .experience-description {
    margin-top: 10px;
    font-size: 1em;
    color: #333;
    line-height: 1.7;
    padding-left: 18px;
}

.timeline-item .experience-description li {
    margin-bottom: 6px;
}

.timeline-item .experience-description strong {
    color: #007acc;
    font-weight: 700;
}

.fly-in {
    opacity: 0;
    transform: translateX(-100%);
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

.fly-in.visible {
    opacity: 1;
    transform: translateX(0);
}

.contact-section {
    padding: 60px;
    border-radius: 12px;
}

.contact-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.contact-left {
    flex: 1;
}

.contact-left h2 {
    text-align: left;
    margin-bottom: 16px;
}

.contact-intro {
    font-size: 1em;
    color: #555;
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.contact-card:hover {
    border-color: #007acc;
    box-shadow: 0 4px 14px rgba(0, 122, 204, 0.12);
    transform: translateX(4px);
}

.contact-card-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #007acc, #005f99);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
    font-weight: 700;
    flex-shrink: 0;
}

.contact-card div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-card-label {
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
}

.contact-card-value {
    font-size: 0.9em;
    color: #333;
    font-weight: 500;
}

.contact-right {
    flex: 1;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form label {
    font-size: 0.85em;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 1em;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fafafa;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #007acc;
    box-shadow: 0 0 0 3px rgba(0, 122, 204, 0.1);
    outline: none;
    background: #fff;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    padding: 13px 32px;
    font-size: 1em;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #007acc, #005f99);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.2s, box-shadow 0.2s;
    width: 100%;
}

.contact-form button:hover {
    opacity: 0.9;
    box-shadow: 0 4px 14px rgba(0, 122, 204, 0.3);
}

.drop-down {
    opacity: .7; 
    transform: translateY(-50px); 
}

.drop-down.visible {
    opacity: 1;
    transform: translateY(0); 
    animation: dropDown 0.6s ease-out forwards; 
}

@keyframes dropDown {
    from {
        opacity: 0;
        transform: translateY(-90px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.company-logo {
    width: 24px;
    height: auto;
    vertical-align: middle;
    margin-right: 8px;
}




.resume-button {
    position: absolute;
    text-align: right;
    justify-content: right;
    right: 50px;
    background-color: #007acc;
    color: white;
    font-size: 1.2em; 
    border-radius: 20px;
    padding: 15px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s;
    
}

.resume-button:hover {
    background: #005f99;
    color: white;
    font-size: 1.2em;
    
}

