/* Global Styles */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --accent-color: #e74c3c;
    --text-color: #333;
    --text-light: #777;
    --white: #fff;
    --black: #000;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    position: relative;
}

.section-title span {
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Header Styles */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px;
    transition: var(--transition);
}


/* About Section */
/* .about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 30px;
}

.about-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.detail-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.detail-item h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.detail-item p {
    margin: 0;
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-color);
    color: var(--dark-color);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
} */

/* About Section with CSS-only Read More */
.read-more-checkbox {
    display: none;
}

.text-content {
    position: relative;
    overflow: hidden;
}

.short-text {
    display: block;
    margin-bottom: 15px;
}

.full-text {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.read-more-checkbox:checked ~ .text-content .full-text {
    max-height: 2000px; /* Adjust based on your content */
    opacity: 1;
}

.read-more-checkbox:checked ~ .text-content .short-text {
    display: none;
}

.read-more-btn {
    display: inline-block;
    padding: 8px 15px;
    background: transparent;
    color: var(--primary-color);
    border: none;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    padding-right: 25px;
    margin-top: 10px;
}

.read-more-btn:hover {
    color: var(--secondary-color);
}

.read-more-btn::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.read-more-checkbox:checked ~ .read-more-btn::after {
    content: '\f077';
}

.read-more-btn::before {
    content: 'See More';
}

.read-more-checkbox:checked ~ .read-more-btn::before {
    content: 'See Less';
}

/* Existing About Section Styles (keep these) */
.about {
    padding: 80px 0;
   
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-image {
    flex: 1;
    border-radius: 10px;
   
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.about-description p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-color);
}

.about-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.detail-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.detail-item h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.detail-item p {
    margin: 0;
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-color);
    color: var(--dark-color);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}




/* About Description - Justified Text */
.about-description {
    text-align: justify;
    text-justify: inter-word;
}

.about-description p {
    margin-bottom: 15px;
    line-height: 1.8;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

/* Read More Toggle System */
.read-more-checkbox {
    display: none;
}

.text-content {
    position: relative;
}

.short-text {
    display: block;
}

.full-text {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s ease;
}

.read-more-checkbox:checked ~ .text-content .full-text {
    max-height: 2000px;
    opacity: 1;
}

.read-more-checkbox:checked ~ .text-content .short-text {
    display: none;
}

.read-more-btn {
    display: inline-block;
    padding: 8px 15px;
    background-color: transparent;
    color: var(--primary-color);
    border: none;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    padding-right: 25px;
    margin: 10px 0;
    text-align: left;
    width: 100%;
}

.read-more-btn:hover {
    background-color: rgba(52, 152, 219, 0.1);
}

.read-more-btn::after {
    content: 'See More';
    font-weight: 600;
    color: var(--primary-color);
}

.read-more-btn::before {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.read-more-checkbox:checked ~ .read-more-btn::after {
    content: 'See Less';
}

.read-more-checkbox:checked ~ .read-more-btn::before {
    content: '\f077';
}



/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-image, .about-text {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .about-details {
        grid-template-columns: 1fr;
    }
    
    .about {
        padding: 60px 0;
    }
}

/* Skills Section */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.skill-category h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.skill-item {
    margin-bottom: 20px;
}

.skill-item p {
    margin-bottom: 10px;
    font-weight: 600;
}

.skill-bar {
    width: 100%;
    height: 10px;
    background-color: var(--light-color);
    border-radius: 5px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 5px;
    transition: width 1s ease-in-out;
}

/* Portfolio Section */
.portfolio-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 20px;
    background-color: var(--light-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(52, 152, 219, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    color: var(--white);
    text-align: center;
    padding: 20px;
}

.portfolio-overlay h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.portfolio-overlay p {
    margin-bottom: 15px;
}

.portfolio-overlay a {
    color: var(--white);
    font-size: 1.5rem;
    transition: var(--transition);
}

.portfolio-overlay a:hover {
    transform: scale(1.2);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.1);
}

.contact-form textarea {
    height: 150px;
    resize: none;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    text-align: center;
    padding: 20px 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image, .about-text {
        flex: auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
        height: auto;
    }
    
    .hero-content {
        margin-bottom: 50px;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content h2 {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
}

/* Hero Section with Background Image */
.hero {
    height: 150vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

/* Background image styles */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('ChatGPT Image Jul 5, 2025, 07_52_29 PM.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

/* Optional: Add overlay to make text more readable */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust opacity as needed */
    z-index: -1;
}

/* Keep existing hero content styles */
.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    color: #fff; /* Change text color to white for better contrast */
    flex: 1;
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 5px solid rgba(255, 255, 255, 0.1);
}

/* PPW Section - Enhanced Styling */
.ppw-section {
    background-color: #f9fbfd;
    padding: 90px 0;
    position: relative;
}

.ppw-section .section-title {
    text-align: center;
    margin-bottom: 60px;
}

.ppw-content {
    max-width: 900px;
    margin: 0 auto;
}

.ppw-intro p {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 50px;
    color: var(--text-color);
    padding: 0 20px;
}

.ppw-card {
    display: flex;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ppw-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.ppw-icon {
    background: linear-gradient(135deg, var(--primary-color), #2a80b9);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    font-size: 1.8rem;
}

.ppw-text {
    padding: 30px;
}

.ppw-text h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.ppw-text h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.ppw-text p {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.8;
    color: #555;
    margin-bottom: 0;
    font-size: 1rem;
}

.ppw-conclusion {
    margin-top: 50px;
}

.ppw-conclusion blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 25px;
    background: white;
    border-radius: 0 8px 8px 0;
    margin: 0;
    font-style: italic;
    position: relative;
}

.ppw-conclusion blockquote:before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 60px;
    color: var(--primary-color);
    position: absolute;
    left: 15px;
    top: 10px;
    opacity: 0.2;
}

.ppw-conclusion p {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.8;
    color: var(--text-color);
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ppw-card {
        flex-direction: column;
    }
    
    .ppw-icon {
        min-width: 100%;
        padding: 15px 0;
    }
    
    .ppw-text {
        padding: 25px;
    }
    
    .ppw-intro p,
    .ppw-text p,
    .ppw-conclusion p {
        text-align: left;
    }
}


/* Career Development Plan Section */
.career-plan-section {
    background-color: #fff;
    padding: 90px 0;
    position: relative;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50px;
    height: 100%;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 90px;
}

.timeline-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.timeline-header h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin: 0;
}

.timeline-header h3 span {
    font-size: 1rem;
    color: var(--text-light);
    margin-left: 10px;
    font-weight: normal;
}

.timeline-icon {
    position: absolute;
    left: -70px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.goal-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.goal-list li {
    position: relative;
    padding: 20px;
    background-color: #f9fbfd;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: flex-start;
}

.goal-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.checkmark {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-color: #e8f4fc;
    color: var(--primary-color);
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    margin-right: 15px;
    flex-shrink: 0;
    font-weight: bold;
}

.goal-content {
    flex: 1;
}

.goal-content h4 {
    margin: 0 0 10px 0;
    color: var(--dark-color);
    font-size: 1.1rem;
}

.goal-content p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
}

.certification-list {
    list-style-type: none;
    padding-left: 5px;
    margin: 10px 0 0 0;
}

.certification-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
    background: none;
    box-shadow: none;
    padding: 0;
}

.certification-list li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Completed Goals */
.goal-list li.completed {
    background-color: #f0f9f0;
    border-left: 4px solid #4CAF50;
}

.goal-list li.completed .checkmark {
    background-color: #4CAF50;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        padding-left: 70px;
    }
    
    .timeline-icon {
        left: -50px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .timeline-header h3 {
        font-size: 1.3rem;
    }
    
    .timeline-header h3 span {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .timeline::before {
        display: none;
    }
    
    .timeline-item {
        padding-left: 0;
    }
    
    .timeline-icon {
        position: static;
        margin-right: 15px;
        transform: none;
    }
    
    .timeline-header {
        margin-bottom: 15px;
    }
    
    .goal-list li {
        flex-direction: column;
    }
    
    .checkmark {
        margin-bottom: 10px;
    }
}

/* CV Section Styles */
.cv-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.cv-display {
    display: flex;
    gap: 40px;
    align-items: center;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.cv-image-container {
    flex: 1;
    position: relative;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.cv-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.cv-image:hover {
    transform: scale(1.02);
}

.cv-actions {
    text-align: center;
    padding: 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cv-info {
    flex: 1;
}

.cv-info h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.cv-details {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.cv-details li {
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
    display: flex;
}

.cv-details li:last-child {
    border-bottom: none;
}

.cv-details strong {
    min-width: 120px;
    display: inline-block;
    color: var(--dark-color);
}

.cv-note {
    font-style: italic;
    color: var(--text-light);
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cv-display {
        flex-direction: column;
    }
    
    .cv-image-container {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cv-details li {
        flex-direction: column;
    }
    
    .cv-details strong {
        margin-bottom: 5px;
    }
}

/* Certificates Section */
.certificates-section {
    background-color: #f8fafc;
    padding: 80px 0;
}

.certificates-container {
    max-width: 1200px;
    margin: 0 auto;
}

.certificate-card {
    display: flex;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.certificate-image {
    flex: 1;
    min-width: 300px;
    border-right: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f5f7fa;
}

.certificate-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.certificate-details {
    flex: 2;
    padding: 30px;
}

.certificate-details h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.certificate-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.certificate-details p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--text-color);
}

.view-certificate, .verify-certificate {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.view-certificate {
    background-color: var(--primary-color);
    color: white;
}

.verify-certificate {
    background-color: #4CAF50;
    color: white;
}

.view-certificate:hover, .verify-certificate:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.view-certificate:hover {
    background-color: var(--secondary-color);
}

.verify-certificate:hover {
    background-color: #3e8e41;
}

/* Responsive Design */
@media (max-width: 992px) {
    .certificate-card {
        flex-direction: column;
    }
    
    .certificate-image {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        min-width: auto;
    }
}

@media (max-width: 576px) {
    .certificate-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .certificate-details {
        padding: 20px;
    }
    
    .view-certificate, .verify-certificate {
        width: 100%;
        justify-content: center;
        margin-right: 0;
        margin-bottom: 10px;
    }
}

