/* IranSans Font Face Definitions */
@font-face {
    font-family: 'IRANSans';
    src: url('fonts/IRANSans/IRANSans-web.eot');
    src: url('fonts/IRANSans/IRANSans-web.eot?#iefix') format('embedded-opentype'),
         url('fonts/IRANSans/IRANSans-web.woff2') format('woff2'),
         url('fonts/IRANSans/IRANSans-web.woff') format('woff'),
         url('fonts/IRANSans/IRANSans-web.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSans';
    src: url('fonts/IRANSans/IRANSans-Bold-web.eot');
    src: url('fonts/IRANSans/IRANSans-Bold-web.eot?#iefix') format('embedded-opentype'),
         url('fonts/IRANSans/IRANSans-Bold-web.woff2') format('woff2'),
         url('fonts/IRANSans/IRANSans-Bold-web.woff') format('woff'),
         url('fonts/IRANSans/IRANSans-Bold-web.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSans';
    src: url('fonts/IRANSans/IRANSans-Light-web.eot');
    src: url('fonts/IRANSans/IRANSans-Light-web.eot?#iefix') format('embedded-opentype'),
         url('fonts/IRANSans/IRANSans-Light-web.woff2') format('woff2'),
         url('fonts/IRANSans/IRANSans-Light-web.woff') format('woff'),
         url('fonts/IRANSans/IRANSans-Light-web.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSans';
    src: url('fonts/IRANSans/IRANSans-Medium-web.eot');
    src: url('fonts/IRANSans/IRANSans-Medium-web.eot?#iefix') format('embedded-opentype'),
         url('fonts/IRANSans/IRANSans-Medium-web.woff2') format('woff2'),
         url('fonts/IRANSans/IRANSans-Medium-web.woff') format('woff'),
         url('fonts/IRANSans/IRANSans-Medium-web.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'IRANSans', 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    direction: rtl;
    text-align: right;
}

/* Language-specific styles */
body[lang="en"],
body[lang="de"] {
    direction: ltr;
    text-align: left;
    font-family: 'Inter', sans-serif;
}

body[lang="fa"] {
    direction: rtl;
    text-align: right;
    font-family: 'IRANSans', sans-serif;
}

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

/* Remove .language-switcher styles (top bar) */
.language-switcher { display: none !important; }

/* Nav language dropdown styles */
.nav-lang-dropdown {
    margin-left: 1.5rem;
    display: flex;
    align-items: center;
    position: relative;
}

.nav-lang-dropdown .lang-dropdown-btn {
    background: white;
    border: 2px solid #2563eb;
    color: #2563eb;
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 2px 10px rgba(37,99,235,0.07);
    transition: all 0.3s;
}

.nav-lang-dropdown .selected-lang {
    font-weight: 700;
    color: #2563eb;
    font-family: inherit;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.nav-lang-dropdown .lang-dropdown-list {
    display: none;
    position: absolute;
    min-width: 100px;
    left: 0;
    right: auto;
    top: 110%;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(37,99,235,0.08);
    z-index: 1002;
    padding: 0.3rem 0;
}

.nav-lang-dropdown.open .lang-dropdown-list {
    display: block;
}

.nav-lang-dropdown .lang-option {
    padding: 0.3rem 1rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    color: #2563eb;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.nav-lang-dropdown .lang-option:hover, .nav-lang-dropdown .lang-option.active {
    background: #2563eb;
    color: white;
}

@media (max-width: 900px) {
    .nav-lang-dropdown {
        margin-left: 0.5rem;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    /* top: 64px; */
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #2563eb;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    right: 0;
    background-color: #2563eb;
    transition: width 0.3s ease;
}

body[lang="en"] .nav-link::after,
body[lang="de"] .nav-link::after {
    right: auto;
    left: 0;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding-top: 120px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2563eb;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease 0.8s both;
}

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1f2937;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* About Section */
.about {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
}

.personal-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.info-grid {
    display: grid;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateX(-5px);
}

body[lang="en"] .info-item:hover,
body[lang="de"] .info-item:hover {
    transform: translateX(5px);
}

.info-item i {
    color: #2563eb;
    font-size: 1.2rem;
    width: 20px;
}

/* Email Protection */
.email-protected {
    cursor: pointer;
    position: relative;
    color: #2563eb;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.email-protected:hover {
    color: #1d4ed8;
}

.email-protected::after {
    content: attr(data-email);
    position: absolute;
    top: 100%;
    left: 0;
    background: #1f2937;
    color: white;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.email-protected:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Experience Section */
.experience {
    background: #f8f9fa;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

body[lang="en"] .timeline::before,
body[lang="de"] .timeline::before {
    right: auto;
    left: 50%;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 0;
    margin-left: 52%;
    padding-left: 3rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: 52%;
    padding-right: 3rem;
}

body[lang="en"] .timeline-item:nth-child(odd) .timeline-content,
body[lang="de"] .timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 52%;
    padding-right: 3rem;
    /* padding-left: 0; */
}

body[lang="en"] .timeline-item:nth-child(even) .timeline-content,
body[lang="de"] .timeline-item:nth-child(even) .timeline-content {
    margin-right: 0;
    margin-left: 52%;
    padding-left: 3rem;
    padding-right: 0;
}

.timeline-content {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.timeline-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Timeline Dot (Circle) Styles */
.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 4px 16px rgba(118,75,162,0.18), 0 0 0 4px #e0e7ff;
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -80px;
    left: auto;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -80px;
    right: auto;
}

body[lang="en"] .timeline-item:nth-child(odd) .timeline-content::before,
body[lang="de"] .timeline-item:nth-child(odd) .timeline-content::before {
    left: -80px;
    right: auto;
}
body[lang="en"] .timeline-item:nth-child(even) .timeline-content::before,
body[lang="de"] .timeline-item:nth-child(even) .timeline-content::before {
    right: -80px;
    left: auto;
}

@media (max-width: 900px) {
    .timeline-content::before,
    body[lang="en"] .timeline-content::before,
    body[lang="de"] .timeline-content::before {
        right: -45px !important;
        left: auto !important;
        width: 20px;
        height: 20px;
    }
}

.timeline-header h3 {
    font-size: 1.4rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.company {
    color: #2563eb;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.period {
    color: #6b7280;
    font-size: 0.95rem;
    background: #f3f4f6;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    display: inline-block;
}

.timeline-content ul {
    margin-top: 1.5rem;
    padding-right: 1.5rem;
}

body[lang="en"] .timeline-content ul,
body[lang="de"] .timeline-content ul {
    padding-right: 0;
    padding-left: 1.5rem;
}

.timeline-content li {
    margin-bottom: 0.8rem;
    color: #4b5563;
    line-height: 1.6;
    position: relative;
}

.timeline-content li::before {
    /* content: '•'; */
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    right: -1rem;
}

body[lang="en"] .timeline-content li::before,
body[lang="de"] .timeline-content li::before {
    right: auto;
    left: -1rem;
}

/* Education Section */
.education {
    background: white;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.education-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.education-item:hover {
    transform: translateY(-5px);
}

.education-item h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.education-item p {
    color: #6b7280;
}

/* Skills Section */
.skills {
    background: #f8f9fa;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
}

.skill-category h3 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-category h3 i {
    color: #2563eb;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: #e0e7ff;
    color: #3730a3;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

/* Languages Section */
.languages {
    background: white;
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.language-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.language-item:hover {
    transform: translateY(-5px);
}

.language-item h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.language-level .level {
    background: #2563eb;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

/* Contact Section */
.contact {
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    color: #2563eb;
    font-size: 1.5rem;
    width: 30px;
}

.contact-item h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #6b7280;
}

.social-links h3 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    text-align: center;
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    color: #1f2937;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    color: #2563eb;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.social-icon i {
    font-size: 1.5rem;
    color: #2563eb;
}

/* Social Sharing Buttons */
.social-sharing {
    margin-top: 2rem;
}

.social-sharing h3 {
    margin-bottom: 1rem;
    color: #2563eb;
    font-weight: 600;
}

.sharing-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.sharing-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none;
    color: #374151;
    transition: all 0.3s ease;
    min-width: 80px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.sharing-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-decoration: none;
}

.sharing-btn.facebook:hover {
    border-color: #1877f2;
    color: #1877f2;
}

.sharing-btn.twitter:hover {
    border-color: #1da1f2;
    color: #1da1f2;
}

.sharing-btn.linkedin:hover {
    border-color: #0077b5;
    color: #0077b5;
}

.sharing-btn.whatsapp:hover {
    border-color: #25d366;
    color: #25d366;
}

.sharing-btn i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.sharing-btn span {
    font-size: 0.8rem;
    font-weight: 500;
}

/* Skill category headings */
.skill-category h4 {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0.5rem 0 1rem 0;
    font-weight: 500;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 110px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    body[lang="en"] .nav-menu,
    body[lang="de"] .nav-menu {
        right: auto;
        left: -100%;
    }

    .nav-menu.active {
        right: 0;
    }

    body[lang="en"] .nav-menu.active,
    body[lang="de"] .nav-menu.active {
        left: 0;
        right: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .profile-image {
        width: 250px;
        height: 250px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .timeline::before {
        right: 20px;
    }

    body[lang="en"] .timeline::before,
    body[lang="de"] .timeline::before {
        right: auto;
        left: 20px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-right: 50px;
        margin-left: 0;
        padding-right: 2rem;
        padding-left: 0;
    }

    body[lang="en"] .timeline-item:nth-child(odd) .timeline-content,
    body[lang="de"] .timeline-item:nth-child(odd) .timeline-content,
    body[lang="en"] .timeline-item:nth-child(even) .timeline-content,
    body[lang="de"] .timeline-item:nth-child(even) .timeline-content {
        margin-left: 50px;
        margin-right: 0;
        padding-left: 2rem;
        padding-right: 0;
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        right: -45px;
        left: auto;
    }

    body[lang="en"] .timeline-item:nth-child(odd) .timeline-content::before,
    body[lang="de"] .timeline-item:nth-child(odd) .timeline-content::before,
    body[lang="en"] .timeline-item:nth-child(even) .timeline-content::before,
    body[lang="de"] .timeline-item:nth-child(even) .timeline-content::before {
        left: -45px;
        right: auto;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sharing-buttons {
        justify-content: center;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .lang-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .profile-image {
        width: 200px;
        height: 200px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Certifications Section */
.certifications {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.certification-item {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.certification-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.certification-badge {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.certification-image {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.certification-item:hover .certification-image {
    transform: scale(1.05);
}

.certification-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.certification-item p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design for Certifications */
@media (max-width: 768px) {
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .certification-item {
        padding: 1.5rem;
    }
    
    .certification-image {
        max-width: 150px;
    }
    
    .certification-item h3 {
        font-size: 1.1rem;
    }
    
    .certification-item p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .certifications {
        padding: 3rem 0;
    }
    
    .certification-item {
        padding: 1.25rem;
    }
    
    .certification-image {
        max-width: 120px;
    }
} 