:root {
    --primary-color: #e74c3c;
    --secondary-color: #2c3e50;
    --text-color: #333;
    --light-bg: #f9f9f9;
}


body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.6;
    background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(245, 245, 245, 0.9)), 
                      url('portfolio/banner.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

.company-name p {
    font-size: 1.5vw;
    margin: 0;
    padding-right: 20px;
}
.company-name {
    padding-left: 10px;
    max-width:100%;
    min-width: 80%;
}


.header {
    width: 100%;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: white;
}

.content {
    display: none;
    padding: 16px;
    max-height: 65vh;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.8;
}

.content.visible {
    display: block;
    animation: fadeIn 0.5s ease;
}

table {
    border-collapse: collapse;
    width: 100%;
    border-color: #4d4b4d43;
    background: white;
}

td {
    vertical-align: top;
}

.company-name p {
    font-size: 1.5vw;
    margin: 0;
    padding-right: 20px;
}

.company-name {
    padding-left: 10px;
}

.port {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.fancy-link {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.fancy-link:hover {
    color: white;
    text-shadow: 0 0 8px rgba(231, 76, 60, 0.7);
}


.dig-life {
    background: linear-gradient(270deg, #e74c3c, #2c3e50, #e74c3c);
    /* background: linear-gradient(270deg, #e74c3c, #3498db, #2c3e50, #e74c3c); */
    font-weight: 900;
    background-clip: text;
    -webkit-background-clip: text; /* for Safari */
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}


.content h2, .content h3, .content h4 {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 4px;
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.6;
}

.content ul {
    list-style-type: none; 
    padding-left: 18px;
    position: relative;
}

.content li {
    margin-bottom: 6px;
    line-height: 1.7;
    font-size: 13px;
    position: relative;
    padding-left: 20px;
}

.content li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #f00000;
    font-weight: bold;
}

.portfolio-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 75vh; 
    overflow-y: auto; 
    /* border-left: 1px solid #eee; */
}


.portfolio-list::-webkit-scrollbar {
    width: 6px;
}
.portfolio-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}


.portfolio-list li {
    display: flex;
    align-items: center;
    padding: 10px 8px;
    /* border-bottom: 1px solid #eee; */
    transition: background 0.3s;
    font-size: 13px;
    line-height: 1.7;
}

.portfolio-list li:hover {
    background: #f9f9f9;
}

.portfolio-list img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin-right: 12px;
    border: 1px solid #ddd;
    padding: 4px;
    border-radius: 4px;
    background: white;
}

.portfolio-name {
    font-size: 13px;
    font-weight: 500;
    color: #444;
}

.paragraphs {
    line-height: 1.8;
    text-align: justify;
    font-size: 14px;
}

iframe {
    width: 100%;
    height: 260px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 12px;
}


.red-line {
    background-color: var(--primary-color);
    height: 2px;
    width: 40px;
    margin: 8px 0;
}


@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


.content::-webkit-scrollbar {
    width: 7px;
}

.content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}


.project {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 248, 248, 0.9) 100%);
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.7;
}

.project::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(231, 76, 60, 0.03), transparent);
    transition: left 0.8s;
}

.project:hover::before {
    left: 100%;
}

.project:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.project h4 {
    color: var(--primary-color);
    margin-top: 0;
    border: none;
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.6;
}

.tech-icons-wrapper {
  height: 180px;
  /* width: 250px; */
  overflow: hidden;
  position: relative;
  margin: 40px auto;
}

.tech-icons {
  display: flex;
  flex-direction: column;
  transition: transform 0.6s ease-in-out;
}

.tech-icon {
  position: relative;
  height: 180px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 12px;
  /* box-shadow: 0 4px 12px rgba(0,0,0,0.2); */
}

.tech-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tech-icon span {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 8px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 0 0 12px 12px;
}



/* .tech-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.tech-icon {
    color: rgb(0, 0, 0);
    padding: 6px 10px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 790;
    line-height: 1.5;
} */


.banner {
    /* background: linear-gradient(135deg, #e74c3c, #3498db, #2c3e50); */
    /* background: linear-gradient(135deg, #1e3c72, #2a5298); */
    /* background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); */
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), 
                url('portfolio/banner.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 25px;
    border-radius: 8px;
    margin: 15px 0;
    text-align: center;
}


.banner h2 {
    font-size: 28px;
    margin: 0 0 10px 0;
    color: white;
    border: none;
}

.banner p {
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.service-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-item h4 {
    margin-top: 0;
    color: var(--secondary-color);
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.contact-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.contact-card h4 {
    color: var(--primary-color);
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 25px 0;
}

.stat-item {
    text-align: center;
    padding: 15px;
}

.stat-number {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 14px;
    color: var(--secondary-color);
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
}

.project-card {
    position: relative;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.15);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.project-status {
    font-size: 12px;
    opacity: 0.9;
    margin: 5px 0 0;
}


.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.95);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px; 
    box-sizing: border-box; 
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto; 
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-description {
    font-size: 14px;
    line-height: 1.5;
    margin-top: 8px; 
    text-align: justify;
    box-sizing: border-box; 
}

.project-overlay::-webkit-scrollbar {
    width: 5px;
}

.project-overlay::-webkit-scrollbar-thumb {
    background: rgba(231, 76, 60, 0.7);
    border-radius: 5px;
}

.project-static-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(44, 62, 80, 0.85);
    color: white;
    padding: 10px;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-static-info {
    opacity: 0;
}
.follow-us {
    text-align: center;
}

.follow-us h4 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
}

.social-icons {
    display: inline-flex;
    gap: 15px;
}

.social-icons .icon {
    width: 40px; 
    height: 40px;  
    object-fit: contain; 
    border-radius: 50%;
    /* background: #fff;  */
    padding: 5px;       
    box-sizing: border-box;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.social-icons .icon:hover {
    transform: scale(1.15);
}
.button-e {
  font-family: inherit;
  font-weight: 700;
  padding: 10px 55px;
  border-radius: 25px; /* rounded border */
  cursor: pointer;
  color: black;
  background: 
    linear-gradient(#fff, #fff) padding-box, /* inner background (white) */
    linear-gradient(to bottom, #005bbb 50%, #ffd500 50%) border-box; /* border gradient */
  border: 4px solid transparent; /* important for gradient border */
  box-shadow:
    rgba(0, 0, 0, 0.1) 0px 20px 25px -5px,
    rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
  transition: all 0.2s ease-in-out;
}

.button-e:active {
  transform: translateY(3px);
  box-shadow:
    rgba(0, 0, 0, 0.1) 0px 14px 25px -5px,
    rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
}

.btn-wrapper {
  text-align: center; /* centers inline elements like <a> */
  margin-top: 20px;   /* optional spacing */
}


.job-card {
    padding: 20px;
    margin-top: 20px;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.job-header h2 {
    margin: 0;
    font-size: 20px;
    color: var(--secondary-color);
}

.job-badge {
    background: var(--primary-color);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.job-summary {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.tick-list {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.tick-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #444;
    line-height: 1.7;
}

.tick-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.job-footer {
    margin-top: 20px;
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
    font-size: 13px;
    color: #555;
}


/* ---------------------------
   Responsive Adjustments
--------------------------- */

/* 
@media (max-width: 1024px) {
  .header {
    transform: scale(0.9);
    transform-origin: top left;
    width: 111%; 
  }

  .company-name p {
    font-size: 18px !important;
  }

  .projects-grid {
    grid-template-columns: 1fr; 
  }
}


@media (max-width: 768px) {
  .header {
    transform: scale(0.75);
    transform-origin: top left;
    width: 133%;
  }

  .company-name p {
    font-size: 16px !important;
  }

  .banner h2 {
    font-size: 22px;
  }

  .banner p {
    font-size: 14px;
  }

  .stat-number {
    font-size: 22px;
  }
}


@media (max-width: 480px) {
  .header {
    transform: scale(0.65);
    transform-origin: top left;
    width: 154%;
  }

  .company-name p {
    font-size: 14px !important;
  }

  .banner h2 {
    font-size: 20px;
  }

  .banner p {
    font-size: 13px;
  }

  .project-card {
    height: 200px;
  }
} */



@media (max-width: 1024px) {
  .header {
    transform: scale(0.9);
    transform-origin: top left;
    width: 111%;
  }
  .content {
    max-height: none !important; 
  }
  .project-card {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .header {
    transform: scale(0.75);
    transform-origin: top left;
    width: 133%;
  }
  .content {
    max-height: none !important; 
    padding-bottom: 50px;
  }
  .project-card {
    height: 200px;
  }
  .job-card {
    padding: 15px;
  }
  .portfolio-list {
    max-height: 300px; 
  }
}


@media (max-width: 480px) {
  .header {
    transform: scale(0.65);
    transform-origin: top left;
    width: 154%;
  }
  .content {
    max-height: none !important;
    padding-bottom: 60px;
  }
  .project-card {
    height: 180px;
  }
  .job-card {
    padding: 12px;
  }
  .portfolio-list {
    max-height: 220px;
  }
} 
