/* /style is ok  */
/* Global Styles */
:root {
    /* Color Variables - Easy to change entire color scheme */
    --primary-color: #6c63ff; /* Main brand color - purple */
    --secondary-color: #4d44db; /* Darker purple */
    --dark-color: #2a2a2a; /* For text and dark backgrounds */
    --light-color: #f8f9fa; /* Light background */
    --gray-color: #6c757d; /* Gray text */
    --white-color: #f5f3ff; /* Pure white */
    --success-color: #28a745; /* Green for success messages */
    --error-color: #dc3545; /* Red for errors */
    
    /* Font Variables */
    --main-font: 'Poppins', sans-serif;
    
    /* Spacing Variables */
    --section-padding: 5rem 0;
    --container-width: 90%;
    --max-container-width: 1200px;
    
    /* Transition Variables */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth; /* Smooth scrolling for anchor links */
}

body {
    font-family: var(--main-font);
    color: var(--dark-color);
    background-color: var(--white-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--gray-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

/* Utility Classes */
.container {
    width: var(--container-width);
    max-width: var(--max-container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--gray-color);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.text-center {
    text-align: center;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem 0;
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    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: 2rem;
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
}

.nav-links a.active {
    color: var(--primary-color);
}

.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,
.nav-links a.active::after {
    width: 100%;
}

/* Mobile Menu Button (hidden on desktop) */
.menu-btn {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 1001;
}

.menu-btn__burger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    transition: var(--transition);
}

.menu-btn__burger::before,
.menu-btn__burger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    transition: var(--transition);
}

.menu-btn__burger::before {
    transform: translateY(-8px);
}

.menu-btn__burger::after {
    transform: translateY(8px);
}

/* Menu open state */
.menu-btn.open .menu-btn__burger {
    background: transparent;
}

.menu-btn.open .menu-btn__burger::before {
    transform: rotate(45deg);
}

.menu-btn.open .menu-btn__burger::after {
    transform: rotate(-45deg);
}

/* Hero Section */
.hero {
    padding: 8rem 0 5rem;
    background-color: var(--light-color);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    margin-top: 2rem;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Quick Links Section */
.quick-links {
    padding: var(--section-padding);
}

.quick-links .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.link-card {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.link-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.link-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.link-card h3 {
    margin-bottom: 1rem;
}

.link-card p {
    margin-bottom: 1.5rem;
}

/* About Section */
.about-section {
    padding: var(--section-padding);
}

.about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.about-image {
    flex: 1;
    min-width: 300px;
    
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.personal-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.personal-info div span {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

/* Skills Section */
.skills-section {
    padding: var(--section-padding);
    background-color: var(--light-color);
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.skill-category h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-item p {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.skill-bar {
    width: 100%;
    height: 10px;
    background-color: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 5px;
}

.skill-note {
    font-style: italic;
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
}

/* Education Section */
.education-section {
    padding: var(--section-padding);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-date {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
}

.timeline-content {
    width: calc(50% - 2rem);
    padding: 1.5rem;
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}



/* Contact Section */
/*this is just for contact from */ 

/* TEST: force right card layout */
.contact-section .contact-container{
  display:grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap:24px !important;
}
.contact-section .contact-form--right{
  display:flex !important;
  justify-content:flex-end !important;
}
.contact-section .cf-card{
  width:min(760px,100%) !important;
  background:#f2f3f6 !important;
  border:1px solid #e6e8ef !important;
  border-radius:18px !important;
  padding:28px !important;
  box-shadow:20px 20px 40px rgba(0,0,0,.18), -10px -10px 28px rgba(255,255,255,.55) !important;
}
.contact-section .cf-grid{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:14px 18px !important;
}
.contact-section .cf-field{ display:flex !important; flex-direction:column !important; gap:8px !important; }
.contact-section .cf-full{ grid-column:1 / -1 !important; }

.contact-section .cf-field input,
.contact-section .cf-field textarea{
  width:100% !important;
  display:block !important;
  border:1px solid #e6e8ef !important;
  border-radius:14px !important;
  padding:12px 14px !important;
  background:#fff !important;
  box-shadow: inset 6px 6px 12px rgba(0,0,0,.05), inset -6px -6px 12px rgba(255,255,255,.6) !important;
  outline:none !important;
}
.contact-section .cf-btn{
  width:100% !important;
  margin-top:16px !important;
  background:#000 !important;
  color:#fff !important;
  border:none !important;
  border-radius:14px !important;
  padding:14px 18px !important;
}
@media (max-width:980px){
  .contact-section .contact-container{ grid-template-columns:1fr !important; }
  .contact-section .contact-form--right{ justify-content:center !important; }
  .contact-section .cf-grid{ grid-template-columns:1fr !important; }
}
/*for project image its center and card view  */

.project-image {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f9f9f9;
  border-radius: 12px;
  padding: 8px 0;
  margin: 0 auto;
  max-width: 62%;   /* project image zoom version */
}

.project-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.project-image {
  background: linear-gradient(145deg, #f6f6f8, #ffffff);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}


.project-image img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-image:hover img {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}


/*project 3 Style */
.project-image img { transition: transform .3s ease, box-shadow .3s ease; }
.project-image:hover img { transform: scale(1.03); box-shadow: 0 10px 25px rgba(0,0,0,.15); }


.extra-details ul {
  list-style: disc;
  margin-left: 25px;
  line-height: 1.7;
  color: #444;
}



/* Skill section CSS change*/
/*  Skills (light variant, matches your theme)  */
.skills-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:18px;
  margin-top:14px;
}
.skill-card{
  background:#ffffff;
  border:1px solid #e8eaf2;
  border-radius:14px;
  padding:18px;
  box-shadow:0 8px 18px rgba(0,0,0,.05);
}
.skill-head{
  display:flex; align-items:center; gap:10px;
  margin-bottom:12px;
}
.skill-head i{
  width:32px; height:32px; display:grid; place-items:center;
  border-radius:10px; background:rgba(108,99,255,.12); /* uses your primary */
  color:var(--primary-color);
}
.skill-head h3{ font-size:1.05rem; margin:0; }
.skill-badges{ display:flex; flex-wrap:wrap; gap:10px; }
.pill{
  background:#f5f6fb;
  border:1px solid #e5e7f0;
  color:#333;
  padding:6px 12px;
  border-radius:999px;
  font-size:.9rem;
  line-height:1;
}
@media (prefers-color-scheme: dark){
  /* optional: dark-look like your screenshot */
  .skills-section{ background:#0f1623; padding: var(--section-padding); border-radius:14px; }
  .skill-card{ background:#121b2a; border-color:#1f2a3a; box-shadow:0 10px 24px rgba(0,0,0,.35); }
  .pill{ background:#1a2434; border-color:#233048; color:#d8e1f1; }
  .skill-head i{ background:rgba(108,99,255,.2); color:#aab3ff; }
}


/*Just click style */
/* pill hover/focus effects */
.pill{
  position: relative;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;             /* mouse pointer */
  user-select: none;
  outline: none;
}
.pill:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,.08);
  background: #eef0ff;         /* halka higligth hobe  */
  border-color: #d9dcff;
}
.pill:active{
  transform: translateY(0);     /* press effect */
  box-shadow: 0 4px 10px rgba(0,0,0,.06);
}

/* keyboard accessibility */
.pill[tabindex="0"]:focus{
  box-shadow: 0 0 0 3px rgba(108,99,255,.25);
}

/* tooltip (data-tip theke text nibe) */
.pill[data-tip]::after{
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%) scale(.95);
  opacity: 0;
  pointer-events: none;
  background: #111827;
  color: #fff;
  font-size: .8rem;
  line-height: 1;
  padding: 6px 8px;
  border-radius: 6px;
  white-space: nowrap;
  transition: .15s ease;
}
.pill:hover[data-tip]::after,
.pill.show-tip[data-tip]::after{
  opacity: 1;
  transform: translateX(-50%) scale(1);
}


/*About me Who I am CSS  add its work in bolid point in about section */
.about-highlights{margin:14px 0 24px;display:grid;gap:8px}
.about-highlights li{color:#444}
.about-highlights strong{color:#2a2a2a}


.testimonial-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  color: var(--text-color);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  text-align: left; /* ektu real review feeling asbe   */
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.15);
}

/* testimonial likha ta aro smooth r sondor korar jonno  */
.testimonial-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-card h4 {
  font-weight: 600;
  color: var(--primary-color);
  text-align: right;
  font-size: 0.95rem;
}



.project-details {
  background: #1e293b;
  color: #f1f5f9;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease-in-out;
}

.project-details:hover {
  transform: translateY(-5px);
}

.project-tech {
  margin-top: 0px;
  margin-bottom: 8px;
}

.project-tech span {
  display: inline-block;
  background: #334155;
  color: #38bdf8;
  padding: 5px 12px;
  border-radius: 6px;
  margin-right: 8px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

.project-links {
  margin-top: 20px;
}

.project-links .btn {
  margin-right: 10px;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-primary {
  background: #38bdf8;
  color: #0f172a;
}

.btn-outline {
  border: 1px solid #38bdf8;
  color: #38bdf8;
}

.btn-outline:hover {
  background: #38bdf8;
  color: #0f172a;
}


.project-card h1 {
  text-align: center;
  color: #4a4a4a;
  font-size: 28px;
  font-weight: 700;
    margin-top: 50px;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.project-card h3 {
  text-align: center;
  color: #333333;
  font-size: 40px;
  font-weight: 600;
  margin-top: 50px;
  margin-bottom: 10px;
}

.project-card h4 {
  text-align: center;
  color: #333333;
  font-size: 32px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
}

/*wehen we add out project then maintain css from here  its just for project number possition h1= projct 1....project 4 means h4*/



/*for certificate porsion style start */ 




/* Certificates Section */
.certificates-section {
    padding: var(--section-padding);
    min-height: 100vh;
    padding-top: 100px;
    background-color: var(--light-color);
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.certificate-card {
    background-color: var(--white-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid #eaeaea;
}

.certificate-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.certificate-img {
    height: 200px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.certificate-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.certificate-card:hover .certificate-img img {
    transform: scale(1.05);
}

.certificate-info {
    padding: 1.5rem;
}

.certificate-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    color: var(--dark-color);
}

.certificate-info .issuer {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.certificate-date {
    display: inline-block;
    background-color: rgba(108, 99, 255, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.certificate-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #f8f9ff;
    color: var(--secondary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.certificate-badge i {
    font-size: 0.9rem;
}

.certificate-note {
    text-align: center;
    margin-top: 3rem;
    padding: 1rem;
    background-color: rgba(108, 99, 255, 0.05);
    border-radius: 10px;
    color: var(--gray-color);
}

.certificate-note i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Certificate Modal */
.cert-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: var(--white-color);
    width: 90%;
    max-width: 1000px;
    border-radius: 15px;
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--dark-color);
    transition: var(--transition);
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.05);
}

.close-modal:hover {
    color: var(--primary-color);
    background-color: rgba(108, 99, 255, 0.1);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.modal-certificate-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    align-self: start;
}

.modal-certificate-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.modal-certificate-details h2 {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    font-size: 1.8rem;
}

.modal-meta {
    background-color: #f8f9ff;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.modal-meta p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-meta strong {
    color: var(--dark-color);
    min-width: 120px;
}

.modal-meta i {
    color: var(--primary-color);
    width: 20px;
}

.modal-skills, .modal-projects, .modal-description {
    margin-bottom: 1.5rem;
}

.modal-skills h3, .modal-projects h3, .modal-description h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-color);
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.skills-list .pill {
    background-color: #f0f2ff;
    color: var(--primary-color);
    border: 1px solid #d9dcff;
    font-size: 0.85rem;
    padding: 0.4rem 0.9rem;
}

.modal-projects ul {
    list-style-type: none;
    padding-left: 0;
}

.modal-projects li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-color);
}

.modal-projects li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.modal-description p {
    line-height: 1.7;
    color: var(--gray-color);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.modal-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--white-color);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .modal-body {
        grid-template-columns: 1fr;
    }
    
    .modal-certificate-img {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .certificates-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .modal-content {
        width: 95%;
        padding: 0;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .certificates-section {
        padding-top: 120px;
    }
    
    .certificates-grid {
        grid-template-columns: 1fr;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .certificates-section {
        background-color: #0f1623;
    }
    
    .certificate-card {
        background-color: #121b2a;
        border-color: #1f2a3a;
    }
    
    .certificate-info h3 {
        color: #e2e8f0;
    }
    
    .certificate-img {
        background-color: #1a2434;
    }
    
    .modal-content {
        background-color: #121b2a;
        color: #d8e1f1;
    }
    
    .modal-meta {
        background-color: #1a2434;
    }
    
    .modal-meta strong {
        color: #e2e8f0;
    }
    
    .skills-list .pill {
        background-color: #1a2434;
        border-color: #2d3748;
        color: #aab3ff;
    }
    
    .close-modal {
        color: #d8e1f1;
        background-color: rgba(255,255,255,0.1);
    }
}