/* Base Styles */
:root {
    --primary-color: #0066cc;
    --secondary-color: #00aaff;
    --accent-color: #ff3366;
    --dark-color: #333;
    --light-color: #f0f0f0;
    --text-color: #333;
    --text-light: #666;
    --white: #fff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--white);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Cursor Follower
.cursor-follower {
    position: fixed;
    width: 30px;
    height: 30px;
    background-color: rgba(0, 102, 204, 0.2);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
} */

/* Header & Navigation */
/* Header and Navigation */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

  .logo {
    font-size: 2rem;
    font-weight: bold;
    color: #0088ff;
  }
  
  /* Desktop Navigation */
  .desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
  }
  
  .desktop-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
  }
  
  .desktop-nav a:hover {
    color: #0088ff;
  }
  
  /* Mobile Navigation */
  .mobile-nav {
    display: none;
  }
  
  /* Base mobile menu styles - hide by default on all screens */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: none; /* Hide completely on desktop */
  }
  
  /* Mobile-specific styles */
  @media (max-width: 768px) {
    .mobile-menu {
      display: flex; /* Make it available on mobile, but still off-screen until active */
      align-items: center;
      justify-content: center;
    }
    
    .mobile-menu.active {
      transform: translateX(0);
      z-index: 999;
    }

    .mobile-menu, .mobile-menu a {
        hyphens: none;
      }

    .mobile-menu.active a {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .mobile-menu nav,
    .mobile-menu ul,
    
    .mobile-menu li {
        display: block;
        visibility: visible;
        opacity: 1;
    }
    
    .mobile-menu a {
        color: #333;
        font-size: 1.5rem;
        font-weight: 500;
        display: block;
        padding: 15px;
        text-align: center;
    }
  }  

  
  .hamburger-btn {
    position: relative;
    z-index: 101; /* Higher than the mobile menu */
    cursor: pointer;
    display: block;
  }
  
  /* Hamburger button styling */
  .hamburger-btn span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: #333;
  }
  
  /* Hero Section */
  .hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 50px 5%;
    gap: 30px;
}
  
  .hero-content h1 {
    font-size: 3rem;
    color: #0088ff;
    margin-bottom: 10px;
  }
  
  .hero-content h2 {
    font-size: 1.8rem;
    color: #555;
    margin-bottom: 15px;
    font-weight: 500;
  }
  
  .hero-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
  }
  
  .cta-buttons {
    display: flex;
    gap: 15px;
  }
  
  .btn {
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
  }
  
  .primary {
    background-color: #0088ff;
    color: white;
  }
  
  .primary:hover {
    background-color: #0077ee;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 136, 255, 0.3);
  }
  
  .outline {
    border: 2px solid #0088ff;
    color: #0088ff;
  }
  
  .outline:hover {
    background-color: #0088ff;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 136, 255, 0.3);
  }
  
  .hero-image img {
    width: 70%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  
  /* Media Queries */
  @media (max-width: 768px) {
    .desktop-nav {
      display: none;
    }
    
    .mobile-nav {
      display: block;
    }
    
    .hero {
      grid-template-columns: 1fr;
      text-align: center;
    }
    
    .hero-image {
      grid-row: 1;
      margin-bottom: 30px;
    }
    
    .cta-buttons {
      justify-content: center;
    }
  }
  

/* Skills Section */
#skills {
    padding: 60px 5% 50px;
    max-width: 1200px;
    margin: 0 auto;
}

#skills h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

#skills h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.skills-container {
    margin-top: 3rem;
}

.skills-category {
    margin-bottom: 3rem;
}

.skills-category h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
}

.skill-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.skill-card:hover::before {
    opacity: 0.05;
}

.skill-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.skill-card:hover img {
    transform: scale(1.1);
}

.skill-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.skill-level {
    width: 100%;
    height: 6px;
    background-color: var(--light-color);
    border-radius: 3px;
    overflow: hidden;
}

.skill-bar {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.cert-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.cert-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.cert-card img {
    width: 50px;
    height: 50px;
    margin-right: 1rem;
}

.cert-card h4 {
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    #home {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .hero-image img {
        max-width: 60%;
    }
    
    .skill-grid, .cert-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
    }
    
    nav ul {
        display: none;
    }
    
    .animated-text {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
}


/* Enhanced Soft Skills Section */
.additional-skills {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.additional-skills h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.skill-tag {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    padding: 1rem;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-tag::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.skill-tag:hover::after {
    opacity: 1;
    transform: rotate(45deg) translateY(-100%);
}

.skill-tag:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.skill-tag i {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .skill-tags {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 15px;
      justify-content: center;
    }
    
    .skill-tag {
      width: 100%;
      height: auto;
      aspect-ratio: 1/1;
      font-size: 0.8rem;
      padding: 10px;
    }
    
    .skill-tag i {
      font-size: 1.3rem;
      margin-bottom: 5px;
    }
  }
  








/* About Section */
#about {
    padding: 60px 5% 50px;
    max-width: 1200px;
    margin: 0 auto;
}

#about h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.underline {
    width: 60px;
    height: 4px;
    background-color: #0066cc;
    margin-bottom: 40px;
}

.about-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
}

/* Profile Column */
.profile-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-image img {
    width: 100%;
    max-width: 220px; /* Reduced from 250px */
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-links {
    display: flex;
    justify-content: center;
    margin-top: 15px; /* Reduced from 20px */
    gap: 12px; /* Reduced from 15px */
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #0066cc;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.resume-download {
    margin-top: 20px;
    width: 100%;
    max-width: 250px;
}

.download-btn {
    display: inline-block;
    width: 100%;
    background-color: #0066cc;
    color: white;
    padding: 10px 0;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: #0055aa;
}

.download-btn i {
    margin-right: 8px;
}

/* Info Column */
.info-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-card {
    background-color: #f5f5f5;
    border-radius: 5px;
    overflow: hidden;
}

/* Collapsible sections styling */
details.info-card {
    transition: all 0.3s ease;
}

details.info-card:not([open]) {
    background-color: #f8f8f8;
}

.card-header {
    display: flex;
    align-items: center;
    background-color: #f0f0f0;
    padding: 12px;
    border-left: 4px solid #0066cc;
    cursor: pointer;
}

summary.card-header {
    list-style: none;
    position: relative;
}

summary.card-header::-webkit-details-marker {
    display: none;
}

summary.card-header::after {
    content: '▼';
    position: absolute;
    right: 15px;
    color: #0066cc;
    transition: transform 0.3s ease;
    font-size: 0.8rem;
  }
  
  details[open] summary.card-header::after {
    transform: rotate(180deg);
  }

.card-header i {
    color: #0066cc;
    font-size: 1.2rem;
    margin-right: 10px;
}

.card-header h3 {
    font-size: 1.2rem;
    color: #333;
    margin: 0;
}

.card-content {
    padding: 12px;
}

/* Education Items */
.education-item {
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 2px solid #0066cc;
}

.education-item:last-child {
    margin-bottom: 0;
}

.education-item h4 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 5px;
    font-weight: 600;
}

.institution {
    font-weight: 500;
    margin-bottom: 3px;
}

.date {
    color: #0066cc;
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.gpa {
    font-size: 0.9rem;
}

/* Certification Items */
.cert-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.cert-item:last-child {
    margin-bottom: 0;
}

.cert-icon {
    color: #0066cc;
    font-size: 1.5rem;
    margin-right: 15px;
    min-width: 30px;
    text-align: center;
}

.cert-details h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.view-cert {
    font-size: 0.8rem;
    color: #0066cc;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.view-cert i {
    margin-left: 5px;
    font-size: 0.7rem;
}

@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .profile-column {
        margin-bottom: 20px;
    }
    
    .resume-download {
        max-width: 100%;
    }
}

@media (min-width: 1200px) {
    .about-container {
        grid-template-columns: 300px 1fr 300px; /* Fixed side columns, fluid center */
    }
}



/* Experience Section Styles */
#experience {
    padding: 60px 3% 50px;
    max-width: 1500px;
    margin: 0 auto;
}

#experience h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    color: var(--dark-color);
}

#experience h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.timeline {
    position: relative;
    margin-top: 50px;
    padding-left: 0; /* Remove left padding */
    width: 90%; /* Control the width of the timeline area */
    margin: 0 auto; /* Center the timeline */
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20%; /* Position the line at 20% instead of far left */
    top: 0;
    height: 100%;
    width: 2px;
    background-color: #0088cc;
    opacity: 0.3;
    z-index: 1;
}

.experience-card {
    display: flex;
    margin-bottom: 60px;
    position: relative;
    margin-left: 22%; /* Align with the timeline */
    width: 75%; /* Control width of content */
}

.experience-card::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 20px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #0088cc;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #0088cc;
    z-index: 2;
}

.experience-logo {
    flex: 0 0 150px;
    margin-right: 30px;
}

.experience-logo img {
    max-width: 100%;
    height: auto;
}

.experience-card:hover .experience-logo img {
    transform: scale(1.05);
}

.experience-content {
    flex: 1;
}

.experience-content h3 {
    font-size: 1.5rem;
    color: #0088cc;
    margin-bottom: 5px;
}

.experience-content h4 {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 10px;
}

.experience-content .date {
    display: inline-block;
    background-color: #e6f3fa;
    color: #0088cc;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.experience-content ul {
    list-style: none;
    padding-left: 5px;
}

.experience-content li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.experience-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: bold;
}

/* Add expand button */
.expand-button {
    position: absolute;
    right: 0;
    top: 10px;
    background: none;
    border: none;
    color: #0088cc;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {

    #experience h2 {
        text-align: center;
      }
      
      #experience h2::after {
        left: 50%;
        transform: translateX(-50%);
      }

    .timeline {
      padding-left: 30px; /* Ensure consistent padding */
    }
    
    .timeline::before {
      left: 7px; /* Keep the line consistently positioned */
    }
    
    .experience-card {
      flex-direction: column; /* Stack elements vertically */
      margin-left: 0.0px; /* Give some space from the timeline */
      width: 85%; /* Control width to prevent overflow */
    }
    
    .experience-card::before {
      left: -30px; /* Keep dots aligned with the timeline */
    }
    
    .experience-logo {
      margin-right: 0;
      margin-bottom: 15px;
    }
    
    .experience-content h3 {
      font-size: 1.3rem; /* Slightly smaller font for mobile */
    }
  }  
  

 /* Collapsible Styles */
.collapsible {
    background-color: transparent;
    color: var(--text-color);
    cursor: pointer;
    padding: 18px 0;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    position: relative;
    transition: 0.4s;
}

.collapsible h3, .collapsible h4, .collapsible p {
    margin: 0;
    pointer-events: none;
}

.collapsible h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.collapsible:after {
    content: '';
    float: right;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='%230088cc' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16'/%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.active:after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='%230088cc' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16'/%3E%3Cpath d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8'/%3E%3C/svg%3E");
}


.content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

/* Projects Section Styles */
#projects {
    padding: 60px 3%; /* Keep some padding on the sides */
    /* max-width: 1200px; Optional: Add a max-width to limit content width */
    margin: 0 auto;
}

#projects h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    color: var(--dark-color);
}

#projects h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.project-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 20px;
}

.project-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.project-content .date {
    display: inline-block;
    background-color: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.project-content .description {
    margin-bottom: 15px;
    color: var(--text-light);
}

.project-content ul {
    list-style: none;
    padding-left: 5px;
    margin-bottom: 20px;
}

.project-content li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.project-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: bold;
}

.project-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.project-links .btn {
    padding: 8px 15px;
    font-size: 0.9rem;
}

@media (min-width: 1200px) {
    .project-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    #projects h2 {
        text-align: center;
      }
      
      #projects h2::after {
        left: 50%;
        transform: translateX(-50%);
      }

    .project-grid {
        grid-template-columns: 1fr;
    }
    .project-image {
        height: auto; /* Allow height to adjust based on content */
        max-height: 250px;
    }
    
    .project-image img {
        object-fit: contain;
    }
    
    .project-card {
        width: 100%;
        overflow-x: hidden;
    }
}


.hidden-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}


/* About Section Styles */

/* Enhanced About Section with Decorative Elements */
#about {
    padding: 40px 5%;
    max-width: 1800px;
    margin: 0 auto;
    position: relative;
    background-color: #fafafa;
}

/* Decorative background elements */
#about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 102, 204, 0.05) 0%, transparent 200px),
        radial-gradient(circle at 90% 80%, rgba(0, 102, 204, 0.05) 0%, transparent 200px);
    z-index: -1;
}

#about h2 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

/* Animated underline */
.underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #66a3ff);
    margin-bottom: 40px;
    position: relative;
    border-radius: 2px;
}

/* .underline::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 4px;
    background-color: #0066cc;
    right: -30px;
    border-radius: 2px;
} */

/* Improved grid layout */
.about-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    position: relative;
}

/* Enhanced profile column */
.profile-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-image {
    position: relative;
    margin-bottom: 20px;
}

.profile-image::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    border: 2px solid #0066cc;
    border-radius: 8px;
    z-index: -1;
}

.profile-image img {
    width: 100%;
    max-width: 250px;
    border-radius: 5px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.profile-image img:hover {
    transform: scale(1.02);
}

/* Animated social links */
.social-links {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #0066cc;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.social-icon::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.social-icon:hover::before {
    left: 100%;
}

/* Enhanced info column */
.info-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    padding: 15px 20px;
    border-left: 4px solid #0066cc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card-header:hover {
    background-color: #e8f0fa;
}

.card-header i {
    color: #0066cc;
    font-size: 1.3rem;
    margin-right: 15px;
}

/* Responsive adjustments */
@media (min-width: 1200px) {
    .about-container {
        grid-template-columns: 350px 1fr;
        max-width: 90%;
        margin: 0 auto;
    }
    
    #about::after {
        content: "";
        position: absolute;
        top: 50px;
        right: 50px;
        width: 150px;
        height: 150px;
        background-image: radial-gradient(circle, rgba(0, 102, 204, 0.1) 0%, transparent 70%);
        border-radius: 50%;
        z-index: -1;
    }
}

@media only screen and (max-width: 768px) {
    /* About section layout */
    #about {
      padding: 30px 20px;
    }
    
    .about-container {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    
    /* Profile section */
    .profile-column {
      width: 100%;
      max-width: 280px;
      margin-bottom: 30px;
    }
    
    .profile-image img {
      width: 100%;
      border-radius: 8px;
    }
    
    .social-links {
      display: flex;
      justify-content: center;
      gap: 15px;
      margin: 20px 0;
    }
    
    .social-icon {
      width: 40px;
      height: 40px;
      border-radius: 50%;
    }
    
    .download-btn {
      width: 100%;
      padding: 12px 0;
      text-align: center;
    }
    
    /* Accordion sections */
    .info-column {
      width: 100%;
    }
    
    .info-card {
      margin-bottom: 15px;
      border-radius: 8px;
      overflow: hidden;
    }
    
    .card-header {
      padding: 15px;
      display: flex;
      align-items: center;
    }
    
    .card-header i {
      margin-right: 10px;
    }
    
    /* Fix accordion touch interaction */
    summary.card-header {
      -webkit-tap-highlight-color: transparent;
      user-select: none;
    }
    
    /* Ensure content is visible when expanded */
    .card-content {
      padding: 15px;
      background-color: white;
    }
    
    /* Typography adjustments */
    #about h2 {
        font-size: 2rem;
        margin-bottom: 10px;
        text-align: center;
        width: 100%; /* Ensure full width */
        display: block;
    }
    
    .underline {
        margin: 0 auto 25px;
        display: block
    }

    /* Fix the underline::after position for mobile */
  .underline::after {
    right: -30px;
    display: none; /* Hide the small line on mobile for cleaner look */
  }
  }
  
  

/* Skills Section Styles */
#skills {
    padding-top: 30px; /* Reduce from what appears to be a larger value */
    margin-top: 20px;
    max-width: 2000px;
}

.skills-header {
    text-align: left !important;
    margin-bottom: 50px;
}

.skills-header h2 {
    font-size: 2.8rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    text-align: left !important;
    margin-left: 0;
    left: 0;
    display: block; /* Ensure block display */
    width: 100%; /* Take full width */
}

#skills h2::after {
    left: 42px;
    width: 80px;
     }
  

.skills-header .underline {
    height: 4px;
    width: 120px;
    background: linear-gradient(to right, #0066cc, #00aaff);
    margin: 0; /* Left align the underline */
    display: block; /* Ensure block display */

}

.skills-category {
    margin-bottom: 50px;
}

.skills-category h3 {
    font-size: 1.8rem;
    color: #0066cc;
    margin-bottom: 30px;
    font-weight: 600;
}

.skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}

.skill-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.skill-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.skill-card:hover img {
    transform: scale(1.1);
}

.skill-card h4 {
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
}

.skill-level, .skill-bar {
    display: none;
}

  
/* Certifications Section */
.certifications {
    margin-top: 50px;
}

.certifications h3 {
    font-size: 1.8rem;
    color: #0066cc;
    margin-bottom: 30px;
    font-weight: 600;
}
.cert-card i {
    margin-right: 20px;
    font-size: 24px;
}

.cert-container a {
    text-decoration: none;
    color: inherit;
}

.cert-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.cert-card img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.cert-card h4 {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

@media (max-width: 768px) {
    .skill-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cert-container {
        grid-template-columns: 1fr;
    }

    .skills-header {
        text-align: center !important;
      }
      
      .skills-header h2 {
        text-align: center !important;
      }
      
      .skills-header .underline {
        margin: 0 auto;
      }
    
    #skills h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
}
.cert-info {
    display: flex;
    flex-direction: column;
}

.view-cert {
    font-size: 0.8rem;
    color: var(--primary-color);
    margin-top: 5px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

footer {
    background-color: #f5f5f5;
    padding: 20px 0;
    text-align: center;
    margin-top: 50px;
  }
  
  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    color: #666;
    font-size: 0.9rem;
  }
  




