/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #0a0a0a;
    --dark-gray: #1a1a1a;
    --medium-gray: #2a2a2a;
    --light-gray: #3a3a3a;
    --gold: #D4AF37;
    --gold-light: #FFD700;
    --gold-dark: #B8860B;
    --white: #f5f5f5;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.gold-highlight {
    color: var(--gold);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--gold);
}

.section-subtitle {
    color: #aaa;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--black);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--gold);
    color: var(--gold);
}

.btn-secondary:hover {
    background-color: var(--gold);
    color: var(--black);
    transform: translateY(-3px);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid var(--medium-gray);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    font-family: 'Playfair Display', serif;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--gold);
    margin: 3px 0;
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(to bottom, var(--black) 0%, var(--dark-gray) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, rgba(10, 10, 10, 0) 70%);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 25px;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 35px;
    color: #ccc;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 0 0 350px;
    position: relative;
}

.profile-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--dark-gray), var(--medium-gray));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    border: 5px solid var(--gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.profile-circle i {
    font-size: 150px;
    color: var(--gold);
}

/* Add this to your CSS file */
.profile-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
}

/* Optional: Remove the default icon styles if using photo */
.profile-circle i {
    display: none; /* Hide the icon when using photo */
}

.contact-card {
    background-color: var(--dark-gray);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid var(--light-gray);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.gold-icon {
    color: var(--gold);
    font-size: 1.2rem;
    margin-right: 15px;
    width: 24px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--medium-gray);
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--gold);
    color: var(--black);
    transform: translateY(-5px);
}

/* ===== SKILLS SECTION ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.skill-card {
    background-color: var(--dark-gray);
    border-radius: 10px;
    padding: 30px;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.skill-card:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.1);
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--gold);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.skill-card:hover::before {
    transform: scaleX(1);
}

.skill-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.skill-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.skill-desc {
    color: #bbb;
}

/* ===== EXPERIENCE SECTION ===== */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--medium-gray);
}

.timeline-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-date {
    flex: 0 0 150px;
    text-align: center;
    padding: 10px;
    background-color: var(--gold);
    color: var(--black);
    border-radius: 20px;
    font-weight: 600;
    margin: 0 30px;
    align-self: flex-start;
    position: relative;
    z-index: 1;
}

.timeline-content {
    flex: 1;
    background-color: var(--dark-gray);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--light-gray);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background-color: var(--dark-gray);
    border: 1px solid var(--light-gray);
    transform: rotate(45deg);
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -10px;
    border-right: none;
    border-top: none;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -10px;
    border-left: none;
    border-bottom: none;
}

.timeline-title {
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.timeline-company {
    font-size: 1.1rem;
    color: #aaa;
    margin-bottom: 20px;
    font-weight: 500;
}

.timeline-list {
    list-style: none;
}

.timeline-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.timeline-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* ===== EDUCATION SECTION ===== */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.education-card {
    background-color: var(--dark-gray);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid transparent;
    transition: var(--transition);
    text-align: center;
}

.education-card:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
}

.edu-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.edu-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.edu-institution {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 5px;
}

.edu-duration {
    color: #aaa;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.cert-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.cert-item {
    display: flex;
    align-items: center;
    background-color: var(--dark-gray);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--gold);
}

.cert-item i {
    font-size: 1.8rem;
    margin-right: 20px;
}

.cert-item h4 {
    margin-bottom: 5px;
}

.cert-item p {
    color: #aaa;
    font-size: 0.9rem;
}

/* ===== ACHIEVEMENTS SECTION ===== */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.achievement-card {
    background-color: var(--dark-gray);
    border-radius: 10px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    transition: var(--transition);
}

.achievement-card:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
}

.achievement-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.1);
    font-family: 'Playfair Display', serif;
}

.achievement-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--gold);
}

.achievement-desc {
    color: #bbb;
}

/* ===== CONTACT SECTION ===== */
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item i {
    margin-top: 5px;
}

.contact-item h4 {
    margin-bottom: 5px;
    color: var(--gold);
}

.mission-card {
    background-color: var(--dark-gray);
    border-radius: 10px;
    padding: 40px;
    border: 1px solid var(--light-gray);
    position: relative;
}

.mission-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(212, 175, 55, 0.2);
    font-family: 'Playfair Display', serif;
}

.mission-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--gold);
}

.mission-text {
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.signature {
    text-align: right;
    font-weight: 600;
    color: var(--gold);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--dark-gray);
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid var(--medium-gray);
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.footer-text {
    color: #aaa;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    margin: 0 10px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-date {
        flex: 0 0 120px;
        margin-right: 20px;
        margin-left: 0;
    }
    
    .timeline-content::before {
        left: -10px !important;
        border-left: none !important;
        border-bottom: none !important;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        position: relative;
    }
    
    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--dark-gray);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        border-radius: 0 0 10px 10px;
        border: 1px solid var(--medium-gray);
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .profile-circle {
        width: 250px;
        height: 250px;
    }
    
    .profile-circle i {
        font-size: 120px;
    }
}