/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9fafb;
    color: #111827;
    line-height: 1.6;
}

/* DARK MODE */

body.dark-mode {
    background-color: #0f172a;
    color: #f1f5f9;
}

body.dark-mode nav {
    background-color: #020617;
}

body.dark-mode .portfolio-card,
body.dark-mode .card {
    background-color: #1e293b;
    color: #f1f5f9;
}

body.dark-mode footer {
    background-color: #020617;
}

body.dark-mode .services {
    background-color: #0f172a;
}

body.dark-mode .card {
    background-color: #1e293b;
}

body.dark-mode .card p {
    color: #cbd5e1;
}

/* Navigation */
nav {
	position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #111827;
}

.logo a {
    font-weight: 600;
    font-size: 1.2rem;
}

nav a {
    color: #ffffff;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a:hover {
    color: #14B8A6;
}

/* Active Nav Link */
.nav-links a.active {
    position: relative;
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #14B8A6;
}

/* Hide menu toggle on desktop */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: #ffffff;
    cursor: pointer;
}

.nav-links {
    transition: all 0.3s ease;
}

/* Hero */
.hero {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(135deg, #1D4ED8, #14B8A6);
    color: white;
}

/* General button */
.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #111827;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s ease;
}

.btn:hover {
    background-color: #1D4ED8;
}

/* Dark toggle button */
#dark-mode-toggle {
    background-color: #14B8A6;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: 0.3s ease;
}

#dark-mode-toggle:hover {
    background-color: #0F766E;
}

/* Services Section */
.services {
    padding: 80px 40px;
    background-color: #f3f4f6;
    text-align: center;
}

.services h2 {
    font-size: 2rem;
    margin-bottom: 50px;
}

/* Cards Layout */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Individual Card */
.card {
    background-color: #ffffff;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.card p {
    font-size: 0.95rem;
    color: #6b7280;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Portfolio */

/* Portfolio Teaser */
body.dark-mode .portfolio-teaser {
    background: linear-gradient(135deg, #020617, #0f172a);
}

.portfolio-teaser {
    padding: 90px 40px;
    text-align: center;
    background: linear-gradient(135deg, #111827, #1D4ED8);
    color: #ffffff;
}

.portfolio-teaser h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.portfolio-teaser p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
    opacity: 0.9;
}

.portfolio-teaser .btn {
    margin-top: 30px;
    background-color: #ffffff;
    color: #111827;
}

.portfolio-teaser .btn:hover {
    background-color: #14B8A6;
    color: #ffffff;
}

.portfolio {
    padding: 60px 40px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.portfolio-card {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.portfolio-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.portfolio-single {
    padding: 60px 40px;
}

.portfolio-single img {
    width: 100%;
    margin: 20px 0;
    border-radius: 10px;
}

.video-container iframe {
    width: 100%;
    height: 400px;
    margin-top: 20px;
}

/* Footer */
footer {
    background-color: #111827;
    color: white;
    text-align: center;
    padding: 20px;
}

footer h3{
	color: #111;
}

@media (max-width: 768px) {

    nav {
        padding: 20px;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        background-color: #111827;
        flex-direction: column;
        width: 220px;
        padding: 20px;
        display: none;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        gap: 15px;
    }

    .nav-links.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    #dark-mode-toggle {
        margin-left: 10px;
    }

    .hero {
        padding: 70px 20px;
    }

    .services,
    .portfolio,
    .portfolio-teaser {
        padding: 60px 20px;
    }
}

.gap{
	margin: 20px 0;
}

.login-container {
    max-width: 400px;
    margin: 120px auto;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

body.dark-mode .login-container {
    background: #1e293b;
}

.login-container h2 {
    margin-bottom: 20px;
    text-align: center;
}

.login-container input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.login-container button {
    width: 100%;
    padding: 10px;
    background: #14B8A6;
    border: none;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
}

.login-container button:hover {
    background: #0F766E;
}

.error {
    color: red;
    text-align: center;
    margin-bottom: 10px;
}

.toggle-password {
    font-size: 0.9rem;
    cursor: pointer;
    color: #14B8A6;
    display: block;
    text-align: right;
    margin-bottom: 15px;
}

.forgot-password {
    display: block;
    text-align: right;
    font-size: 0.9rem;
    margin-top: 10px;
    color: #14B8A6;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}


.forgot-link{
    text-align:center;
    margin-top:10px;
}

.login-container { max-width: 400px; margin: 120px auto; padding: 30px; background: #fff; border-radius: 10px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
body.dark-mode .login-container { background:#1e293b; }
.login-container h2 { margin-bottom:20px; text-align:center; }
.login-container input, .login-container select { width:100%; padding:10px; margin-bottom:15px; border:1px solid #ccc; border-radius:6px; }
.login-container button { width:100%; padding:10px; background:#14B8A6; border:none; color:#fff; border-radius:6px; cursor:pointer; }
.login-container button:hover { background:#0F766E; }
.error { color:red; text-align:center; margin-bottom:10px; }
.toggle-password, .toggle-secret { font-size:0.9rem; cursor:pointer; color:#14B8A6; display:block; text-align:right; margin-bottom:15px; }

/* ============================= */
/* BLOG SINGLE PAGE */
/* ============================= */

.blog-container{
    max-width:900px;
    margin:auto;
    padding:60px 40px;
}

.blog-title{
    font-size:2.2rem;
    margin-bottom:10px;
}

.blog-meta{
    color:#6b7280;
    font-size:0.9rem;
    margin-bottom:25px;
}

.blog-image{
    width:100%;
    border-radius:10px;
    margin-bottom:30px;
}

.blog-content{
    font-size:1rem;
    line-height:1.8;
}

.blog-content p{
    margin-bottom:18px;
}

/* BLOG FILTERS */

.blog-filters{
display:flex;
flex-wrap:wrap;
gap:12px;
margin:30px 0;
}

.blog-filters a{
padding:6px 14px;
border-radius:20px;
background:#e5e7eb;
text-decoration:none;
font-size:0.85rem;
color:#111827;
}

.blog-filters a:hover{
background:#14B8A6;
color:white;
}

.active-filter{
background:#14B8A6 !important;
color:white !important;
}

body.dark-mode .blog-filters a{
background:#1e293b;
color:#f1f5f9;
}

/* Author Box */

.author-box{
margin-top:60px;
padding:25px;
background:#f3f4f6;
border-radius:10px;
}

body.dark-mode .author-box{
background:#1e293b;
}

.author-info{
display:flex;
gap:20px;
align-items:center;
}

.author-avatar img{
width:70px;
height:70px;
border-radius:50%;
}

.author-details h4{
margin-bottom:5px;
}

.related-posts{
margin-top:60px;
}

.related-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:20px;
margin-top:20px;
}

.related-card{
background:#fff;
padding:15px;
border-radius:10px;
box-shadow:0 5px 15px rgba(0,0,0,0.05);
}

body.dark-mode .related-card{
background:#1e293b;
}

.related-card img{
width:100%;
border-radius:6px;
margin-bottom:10px;
}

/* Blog Search Form */
.blog-search {
    display: flex;
    max-width: 500px;
    margin: 20px auto;
    gap: 10px;
}

.blog-search input[type="text"] {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.blog-search button {
    padding: 10px 20px;
    background-color: #14B8A6;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease;
}

.blog-search button:hover {
    background-color: #0F766E;
}

/* Popular Posts Sidebar */
.blog-sidebar {
    background: #f3f4f6;
    padding: 20px;
    border-radius: 10px;
    margin-top: 40px;
}

body.dark-mode .blog-sidebar {
    background: #1e293b;
}

.blog-sidebar h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.blog-sidebar ul {
    list-style: none;
}

.blog-sidebar ul li {
    margin-bottom: 10px;
}

.blog-sidebar ul li a {
    color: #111827;
    text-decoration: none;
}

body.dark-mode .blog-sidebar ul li a {
    color: #f1f5f9;
}

.blog-sidebar ul li a:hover {
    color: #14B8A6;
}

/* Comments Section */
.comment-section {
    max-width: 700px;
    margin: 40px auto;
    padding: 25px;
    background: #f3f4f6;
    border-radius: 10px;
}

body.dark-mode .comment-section {
    background: #1e293b;
}

.comment-section h3 {
    margin-bottom: 20px;
}

.comment-section form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comment-section input[type="text"],
.comment-section input[type="email"],
.comment-section textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    resize: vertical;
}

.comment-section button {
    width: 150px;
    padding: 10px 20px;
    background-color: #14B8A6;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.comment-section button:hover {
    background-color: #0F766E;
}

.newsletter{
    background:#f3f4f6;
    padding:20px;
    border-radius:8px;
    margin-top:30px;
    text-align:center;
}

body.dark-mode .newsletter{
    background:#1e293b;
}

.newsletter input[type="email"]{
    width:70%;
    padding:10px;
    border-radius:6px;
    border:1px solid #ccc;
    margin-bottom:10px;
}

.newsletter button{
    padding:10px 20px;
    border:none;
    border-radius:6px;
    background:#14B8A6;
    color:white;
    cursor:pointer;
}

.blog-featured-image{
width:100%;
height: auto;
max-height:500px;
object-fit:cover;
border-radius:8px;
margin:20px 0;
}

.blog-container{
max-width:1200px;
margin:auto;
display:grid;
grid-template-columns: 2fr 1fr;
gap:40px;
padding:20px;
}

.blog-content{
font-size:16px;
line-height:1.7;
}

.post-content{
max-width:750px;
}

.post-content p{
margin-bottom:15px;
}

.post-content h2{
margin-top:28px;
margin-bottom:10px;
font-size:24px;
}

.post-content h3{
margin-top:20px;
margin-bottom:8px;
font-size:20px;
}

.search-box{
background:#f5f5f5;
padding:20px;
border-radius:6px;
margin-bottom:30px;
}

.search-box input{
width:70%;
padding:10px;
border:1px solid #ccc;
border-radius:4px;
}

.search-box button{
padding:10px 16px;
border:none;
background:#0077ff;
color:#fff;
border-radius:4px;
cursor:pointer;
}

.related-posts{
margin-top:40px;
padding-top:20px;
border-top:1px solid #ddd;
}

.related-posts ul{
list-style:none;
padding:0;
}

.related-posts li{
margin-bottom:10px;
}

.related-posts a{
text-decoration:none;
font-weight:500;
color:#333;
}

.related-posts a:hover{
color:#0077ff;
}

.comments-section{
margin-top:50px;
}

.comments-section form{
display:flex;
flex-direction:column;
gap:12px;
max-width:600px;
}

.comments-section input,
.comments-section textarea{
padding:12px;
border:1px solid #ccc;
border-radius:4px;
font-size:16px;
}

.comments-section button{
width:160px;
padding:12px;
border:none;
background:#0077ff;
color:white;
font-size:16px;
border-radius:4px;
cursor:pointer;
}

.comments-section button:hover{
background:#005fd1;
}

.table-of-contents{
background:#f9f9f9;
padding:20px;
border-left:4px solid #0077ff;
margin:25px 0;
}

.table-of-contents ul{
padding-left:20px;
}

.table-of-contents li{
margin-bottom:6px;
}

.table-of-contents a{
text-decoration:none;
color:#0077ff;
}

.featured-posts{
margin-bottom:50px;
}

.featured-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:25px;
}

.featured-card{
background:#fff;
border-radius:8px;
overflow:hidden;
box-shadow:0 3px 10px rgba(0,0,0,0.08);
}

.featured-card img{
width:100%;
height:180px;
object-fit:cover;
}

.featured-card h3{
font-size:18px;
padding:10px 15px;
}

.featured-card p{
font-size:14px;
padding:0 15px 15px;
color:#777;
}

.share-post{
margin-top:40px;
padding-top:20px;
border-top:1px solid #ddd;
}

.share-post a{
display:inline-block;
margin:5px;
padding:8px 14px;
background:#333;
color:#fff;
text-decoration:none;
border-radius:4px;
font-size:14px;
}

.share-post a:hover{
background:#555;
}

.post-like{
margin-top:25px;
font-size:15px;
}

.like-btn {
  background:#14B8A6;
  color:white;
  border:none;
  padding:8px 14px;
  border-radius:6px;
  cursor:pointer;
  transition: all 0.25s ease;
  position: relative;
}

.like-btn:active {
  transform: scale(1.1);
  box-shadow: 0 0 12px rgba(20,184,166,0.6);
}

.like-btn.animate {
  animation: like-glow 0.5s ease forwards;
}

@keyframes like-glow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(20,184,166,0.6);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 16px rgba(20,184,166,0.8);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(20,184,166,0);
  }
}

.like-count {
    font-weight: bold;
    margin-left: 6px;
}

.comments-list{
margin-top:40px;
}

.comment-item{
border-bottom:1px solid #eee;
padding:15px 0;
}

.comment-date{
color:#888;
font-size:12px;
margin-left:10px;
}

.comment-item p{
margin-top:6px;
line-height:1.6;
}

/* Category Page */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.portfolio-card {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.portfolio-card img.post-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.portfolio-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.portfolio-card p {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 10px;
}

.portfolio-card .blog-meta {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 10px;
}

.portfolio-card .btn {
    display: inline-block;
    padding: 8px 14px;
    background-color: #14B8A6;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.85rem;
    transition: 0.3s ease;
}

.portfolio-card .btn:hover {
    background-color: #0F766E;
}

/* Sidebar */
.blog-sidebar {
    margin-top: 40px;
}

.blog-sidebar h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.blog-sidebar ul {
    list-style: none;
    padding-left: 0;
}

.blog-sidebar ul li {
    margin-bottom: 10px;
}

.blog-sidebar ul li a {
    text-decoration: none;
    color: #111827;
    transition: 0.3s ease;
}

.blog-sidebar ul li a:hover {
    color: #14B8A6;
}

/* Search Form */
.blog-search {
    display: flex;
    margin-bottom: 20px;
}

.blog-search input {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px 0 0 6px;
    outline: none;
}

.blog-search button {
    padding: 8px 14px;
    background-color: #14B8A6;
    color: white;
    border: none;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    transition: 0.3s ease;
}

.blog-search button:hover {
    background-color: #0F766E;
}

/* Responsive */
@media (max-width: 768px){
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

.comment-btn{
background:#111;
color:#fff;
border:none;
padding:6px 8px;
cursor:pointer;
border-radius:4px;
font-size:14px;
transition:0.3s;
}

.comment-btn:hover{
background:#333;
}

.reply-form{
margin-top:10px;
background:#f9f9f9;
padding:15px;
border-radius:6px;
border:1px solid #eee;
}

.reply-form input,
.reply-form textarea{
width:100%;
padding:10px;
margin-top:8px;
border:1px solid #ddd;
border-radius:4px;
font-size:14px;
}

.reply-form textarea{
resize:vertical;
}

.reply-form .comment-btn{
margin-top:10px;
background:#111;
color:#fff;
border:none;
padding:8px 16px;
border-radius:4px;
cursor:pointer;
}

.reply-form .comment-btn:hover{
background:#333;
}

.like-comment[disabled]{
opacity:0.6;
cursor:not-allowed;
}

.reply{
margin-left:40px;
border-left:2px solid #eee;
padding-left:12px;
margin-top:10px;
}

.replies{
margin-top:10px;
}

.page-section{
padding:60px 20px;
}

.container{
max-width:1000px;
margin:auto;
}

.services-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
margin-top:30px;
}

.service-card{
padding:20px;
border:1px solid #eee;
border-radius:6px;
background:#fff;
}

form input,
form textarea{
width:100%;
padding:10px;
margin-bottom:15px;
border:1px solid #ccc;
border-radius:4px;
}

.form-message{
margin-bottom:20px;
color:green;
}

/* ================================= */
/* BLOG SINGLE MOBILE RESPONSIVE FIX */
/* ================================= */

@media (max-width: 768px){

    .blog-container{
        grid-template-columns: 1fr;
        gap:25px;
        padding:20px 15px;
    }

    .post-content{
        max-width:100%;
    }

    .blog-title{
        font-size:1.6rem;
        line-height:1.3;
    }

    .blog-meta{
        font-size:0.8rem;
    }

    .blog-featured-image{
        max-height:300px;
    }

    .author-info{
        flex-direction:column;
        text-align:center;
    }

    .author-avatar img{
        width:60px;
        height:60px;
    }

    .blog-sidebar{
        margin-top:30px;
    }

    .newsletter input[type="email"]{
        width:100%;
    }

    .comment-section{
        padding:20px 15px;
    }

    .reply{
        margin-left:20px;
    }

}

/* About page list */
.page-section ul{
padding-left:20px;
list-style-position: inside;
}

.page-section ul li{
margin-bottom:8px;
}

.table-of-contents{
background:#f9f9f9;
}

/* Dark mode TOC */
body.dark-mode .table-of-contents{
background:#1e293b;
border-left:4px solid #14B8A6;
}

body.dark-mode .table-of-contents h3{
color:#f1f5f9;
}

body.dark-mode .table-of-contents a{
color:#38bdf8;
}

body.dark-mode .table-of-contents a:hover{
color:#14B8A6;
}

/* Related posts dark mode */
body.dark-mode .related-posts a{
color:#f1f5f9;
}

body.dark-mode .related-posts a:hover{
color:#14B8A6;
}

/* Newsletter heading dark mode */
body.dark-mode .newsletter h3{
color:#ffffff;
}

body.dark-mode .newsletter input{
background:#0f172a;
border:1px solid #334155;
color:#f1f5f9;
}

.newsletter-msg{
margin-bottom:10px;
font-size:14px;
color:#4CAF50;
}

.contact-options{
    text-align:center;
    padding:40px 20px;
}

.contact-links{
    margin-top:20px;
}

.contact-btn{
    display:inline-block;
    margin:10px;
    padding:8px 12px;
    border-radius:6px;
    text-decoration:none;
    color:#fff;
    font-weight:600;
}

.whatsapp{
    background:#25D366;
}

.email{
    background:#007bff;
}

.linkedin{
    background:#0A66C2;
}

.latest-blog{
    padding:60px 20px;
    text-align:center;
}

.blog-cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
    margin-top:30px;
}

.blog-card{
    background:#fff;
    padding:20px;
    border-radius:8px;
    box-shadow:0 2px 8px rgba(0,0,0,0.1);
    text-align:left;
}

.blog-card img{
    width:100%;
    border-radius:6px;
    margin-bottom:15px;
}

.blog-card h3{
    font-size:18px;
    margin-bottom:10px;
}

.blog-date{
    font-size:13px;
    color:#777;
    margin-bottom:15px;
}

/* Certifications */

.certification-grid{
	display:grid;
	grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
	gap:20px;
	margin-top:30px;
}

.cert-card{
	background:#fff;
	padding:20px;
	border-radius:8px;
	box-shadow:0 2px 8px rgba(0,0,0,0.1);
}

.cert-card h3{
	margin-bottom:10px;
}


/* Testimonials */

.testimonial-grid{
	display:grid;
	grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
	gap:20px;
	margin-top:30px;
}

.testimonial-card{
	background:#f9f9f9;
	padding:20px;
	border-radius:8px;
	box-shadow:0 2px 8px rgba(0,0,0,0.08);
	font-style:italic;
}

.testimonial-card h4{
	margin-top:15px;
	font-style:normal;
	color:#444;
}

.cert-card img{
	width:100%;
	margin-top:15px;
	border-radius:6px;
	box-shadow:0 2px 8px rgba(0,0,0,0.15);
}

.certificate-img{
cursor:pointer;
transition:0.3s;
}

.certificate-img:hover{
transform:scale(1.03);
}

/* modal */

.cert-modal{
display:none;
position:fixed;
z-index:999;
padding-top:60px;
left:0;
top:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.9);
}

.cert-modal-content{
margin:auto;
display:block;
max-width:80%;
max-height:80%;
}

.cert-close{
position:absolute;
top:20px;
right:40px;
color:white;
font-size:35px;
cursor:pointer;
}

.btn-primary{
background:linear-gradient(135deg,#14B8A6,#0F766E);
border:none;
padding:12px 18px;
border-radius:8px;
color:white;
font-weight:500;
cursor:pointer;
transition:all 0.25s ease;
text-decoration: none;
}

.btn-primary:hover{
transform:translateY(-1px);
box-shadow:0 6px 14px rgba(20,184,166,0.3);
}

.status-select{
padding:8px 12px;
border-radius:6px;
border:1px solid #ccc;
font-size:14px;
background:#fff;
cursor:pointer;
transition:0.3s;
}

.status-select:focus{
outline:none;
border-color:#007bff;
box-shadow:0 0 4px rgba(0,123,255,0.4);
}

/* ABOUT SECTION */

.about-grid{
display:grid;
grid-template-columns:300px 1fr;
gap:40px;
align-items:center;
}

/* profile image */

.about-image img{
width:100%;
border-radius:10px;
box-shadow:0 6px 18px rgba(0,0,0,0.15);
transition:0.3s;
}

.about-image img:hover{
transform:scale(1.03);
}

/* text */

.about-content h1{
margin-bottom:15px;
}

.about-content h2{
margin-top:20px;
}

/* mobile */

@media(max-width:768px){

.about-grid{
grid-template-columns:1fr;
text-align:center;
}

.about-image{
max-width:250px;
margin:auto;
}

}

.professional-badges{
margin-top:12px;
display:flex;
flex-wrap:wrap;
gap:8px;
}

.professional-badges span{
background:#f1f3f5;
color:#333;
padding:6px 12px;
border-radius:20px;
font-size:13px;
font-weight:500;
border:1px solid #e0e0e0;
}

.experience-box{
display:flex;
gap:25px;
margin-top:20px;
flex-wrap:wrap;
}

.exp-item{
background:#f9f9f9;
padding:12px 18px;
border-radius:8px;
text-align:center;
box-shadow:0 2px 6px rgba(0,0,0,0.08);
}

.exp-item h3{
margin:0;
color:#007bff;
font-size:22px;
}

.exp-item p{
margin:0;
font-size:13px;
}

.tech-stack{
display:flex;
flex-wrap:wrap;
gap:20px;
margin-top:15px;
}

.tech-item{
text-align:center;
width:80px;
}

.tech-item img{
width:45px;
height:45px;
object-fit:contain;
display:block;
margin:auto;
}

.tech-item span{
font-size:13px;
display:block;
margin-top:5px;
}

.chart-container {
    height: 300px;
}