:root {
    --primary: #6c63ff;
    --dark: #2d2d2d;
    --warning: #f59e0b;
    --light: white;
    --dark: black;
    --transition: all 0.3s ease;
}

body {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    font-variation-settings:
    "wdth" 100;
}

.heading{
    font-family: "Merriweather", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
    "wdth" 100;
    font-size: 2.5rem;
    margin: 0;
    color: var(--text);
    position: relative;
    z-index: 1;
}

.heading::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: -10px;
    left: -10px;
    width: 40px;
    height: 40px;
    background: var(--warning);
    border-radius: 50%;
    opacity: 0.2;
}

.heading-light {
    font-family: "Merriweather", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
    "wdth" 100;
    font-size: 2.5rem;
    margin: 0;
    color: #ffffff; /* Light color for contrast */
    position: relative;
    z-index: 1;
}

.heading-light::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: -10px;
    left: -10px;
    width: 40px;
    height: 40px;
    background: #ffd700; /* A warm highlight color */
    border-radius: 50%;
    opacity: 0.3;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-name{
    font-family: "Merriweather", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
    "wdth" 100;
    font-size: 1.5rem;
    /*margin: 0;*/
    color: var(--text);
    position: relative;
    z-index: 1;
}

.navbar-name::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: -10px;
    left: -10px;
    width: 40px;
    height: 40px;
    background: var(--warning);
    border-radius: 50%;
    opacity: 0.2;
}

.nav-link {
    font-weight: 500;
}

.tags{
    display:none;
}
@media (max-width: 1023px) {
    .tags {
        display:block;
        font-family: "Merriweather", serif;
        font-size: 20px;
        color: var(--primary);
    }
}

.rolling-text {
    display: inline-block;
    font-family: "Merriweather", serif;
    font-size: 20px;
    line-height: 27px;
    /*letter-spacing: 2px;*/
    height: 27px;
    text-decoration: none;
    overflow: hidden;
    color: var(--dark);
    position: relative;
    transition: color 0.6s ease;
}

.rolling-text.play .letter {
    transform: translateY(-100%);
}

.block {
    display: flex;
}

.letter {
    display: inline-block;
    transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}

.rolling-text.color-black {
    color: var(--dark);
}

.rolling-text.color-purple {
    color: var(--primary);
}

.rolling-text.play .letter {
    transform: translateY(-100%);
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .rolling-text {
        font-size: 14px;
        height: 20px;
        line-height:20px;
    }
}
.edu-title{
    font-family: "Merriweather", serif;
}

/* Skill Tags */
.skill-tag {
    display: inline-block;
    background: rgba(108, 99, 255, 0.2); /* Semi-transparent primary */
    color: var(--dark); /* Light text */
    font-size: 0.875rem;
    padding: 6px 12px;
    border-radius: 50px;
    margin: 2px 4px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.skill-tag:hover {
    color: var(--light); /* Light text */
    background: var(--primary);
    transform: scale(1.05);
}

/* View Project Button */
.view-project-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), #5348ff);
    color: var(--light);
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.view-project-btn:hover {
    color: var(--light);
    background: linear-gradient(135deg, #5348ff, var(--primary));
    transform: translateY(-2px);
    box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.25);
}

/* General Form Styling */
.contact-form {
    margin-top: 20px;
    background: var(--light);
    padding: 20px;
    border-radius: 10px;
    /*box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);*/
}

/* Input Fields */
.input-field {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    background: #f8f9fa;
    color: var(--dark);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-field::placeholder {
    color: rgba(0, 0, 0, 0.6);
}

.input-field:focus {
    border-color: var(--primary);
    box-shadow: 0 0 8px rgba(108, 99, 255, 0.4);
    outline: none;
}

/* Textarea Field */
.textarea-field {
    min-height: 120px;
    resize: none;
}

/* Submit Button */
.submit-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), #5348ff);
    color: var(--light);
    font-size: 1rem;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 50px;
    border: none;
    width: 100%;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
}

.submit-btn:hover {
    color:var(--light);
    background: linear-gradient(135deg, #5348ff, var(--primary));
    transform: translateY(-2px);
    box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.15);
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 0 10px;
}

.footer-logo {
    font-family: "Merriweather", serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--light);
}

.footer p {
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    color: var(--light);
    font-weight: 400;
}

.brand-link{
    color: var(--light);
    text-decoration:none;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top:10px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Skills Section */
.skills-section {
    padding: 80px 0;
    background: #f9f9f9;
}

/* Skill Card */
.skill-card {
    background: rgba(255, 255, 255, 0.7);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease-in-out;
    height: 100%;
    backdrop-filter: blur(10px);
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
}

/* Icon Box */
.skill-card .icon {
    width: 60px;
    height: 60px;
    background: #eef2ff; /* Light Blue */
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.skill-card .icon i {
    font-size: 1.5rem;
    color: var(--primary); /* Primary Color */
}

/* Skill Tags */
.skill-card .skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-card .skill-tag {
    background: #eef2ff;
    color: var(--dark);
    font-size: 0.9rem;
    padding: 3px 9px;
    border-radius: 3px;
    font-weight: 400;
    display: inline-block;
}



/* Hero Section */
.hero-section {
    padding: 100px 0;
    position: relative;
}

.hello-text {
    display: inline-block;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.service-tags {
    display: flex;
    justify-content:center;
    align-items:center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
}

.service-tags .row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-tags .col-lg-6 {
    display: flex;
}

.service-tags .tag {
    background-color: var(--primary); /* Highlighted blue */
    color: #fff; /* White text for contrast */
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

.service-tags .tag:hover {
    transform: scale(1.1);
}

.tag {
    padding: 8px 16px;
    background: #f8f9fa;
    border-radius: 20px;
    font-size: 0.9rem;
}

.clients {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.client-count .count {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.client-avatars {
    display: flex;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -10px;
}

.hero-image {
    position: relative;
}

.purple-bg {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--primary);
    border-radius: 20px;
    transform: rotate(10deg);
    z-index: -1;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: var(--primary);
    color: #fff;
}

.section-header {
    display: flex;
    /*justify-content: space-between;*/
    align-items: center;
    justify-content:center;
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    height: 100%;
    transition: 0.3s ease-in-out;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
}

.service-card .icon {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-card .icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.learn-more {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    h1 {
        font-size: 3rem;
    }
    
    .hero-section {
        padding: 120px 0 60px;
    }
    
    .purple-bg {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        text-align: center;
    }
    
    .service-tags {
        justify-content: center;
    }
    
    .clients {
        justify-content: center;
        flex-direction: column;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Education Section */
.education-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.education-card {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s ease-in-out;
}

.education-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
}

.education-card .year {
    color: var(--primary);
    font-weight: 500;
}

.education-card h3 {
    margin: 1rem 0;
}

.education-card .school {
    color: #666;
    font-weight: 500;
}

/* Experience Section */
.experience-section {
    padding: 100px 0;
}

.timeline {
    position: relative;
    padding-left: 50px;
}

.timeline-item {
    position: relative;
    padding-bottom: 50px;
}

.timeline-item .content:hover {
    transform: translateY(-8px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -50px;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--primary);
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -56px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
}

.timeline-item .content {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease-in-out;
}

.timeline-item .year {
    color: var(--primary);
    font-weight: 500;
}

.responsibilities {
    padding-left: 1.2rem;
    margin-top: 1rem;
}

/* Projects Section */
.projects-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.project-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s ease-in-out;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-info {
    padding: 1.5rem;
}

.project-info p {
    color: #666;
    margin-bottom: 1rem;
}

/* Connect Section */
.connect-section {
    padding: 100px 0;
    color: var(--dark);
}

.connect-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: #f1f1f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary);
    color: var(--light);
    transform: translateY(-5px);
}

textarea{
    resize:none;
}
.swal-wide {
  width: 70% !important;
}

@media (max-width: 768px) {
  .swal-wide {
    width: 100% !important;
  }
}
pre {
    font-family: 'Inter', sans-serif; /* Your desired font */
    color: #333; /* Dark text for better contrast */
    overflow-x: auto; /* Horizontal scrolling for long content */
    white-space: pre-wrap; /* Wrap text while preserving formatting */
    line-height: 1.5; /* Improved line spacing */
    font-size: 16px; /* Comfortable font size */
    margin-bottom: 20px; /* Spacing from other elements */
}
.profile-img{
    height:400px; 
    width:400px; 
    object-fit:cover;
}