/* Custom Styles */
:root {
    --primary: #6366F1; /* Vivid Indigo */
    --gradient: linear-gradient(45deg, #4F46E5, #7C3AED); /* Purple Gradient */

    /* Supporting Colors */
    --secondary: #14B8A6; /* Teal - a fresh accent */
    --accent: #FACC15; /* Bright Yellow - adds contrast */
    
    /* Background & Text */
    --background: #F4F4FA; /* Soft Lavender White */
    --text: #1E1B4B; /* Deep Navy for readability */

    /* UI Elements */
    --border: #A5B4FC; /* Light Periwinkle for subtle borders */
    --hover: #4F46E5; /* Slightly darker purple for hover effects */
    
    --light-text: #ffffff;
}
body {
    font-family: 'Chakra Petch', sans-serif;
    color: var(--text);
    background: var(--background);
}

h1, h2, h3 {
    font-family: 'Bricolage Grotesque', sans-serif;
}

code, .small-label {
    font-family: 'Fira Code', monospace;
}

.tag-text {
    font-weight:bold;
    font-size: 19px;
    font-family: 'Fira Code', monospace;
    color: var(--hover);
}
/* Navbar Styles */
.navbar {
	padding: 20px 0;
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-nav .nav-link {
	font-size: 14px;
	font-weight: 500;
	padding: 8px 20px;
}

/* Hero Section */
.hero-section {
	min-height: 100vh;
	background: #fff;
	position: relative;
	overflow: hidden;
}

.hero-section::after {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 80%;
	height: 150%;
	background: var(--gradient);
	border-radius: 0 0 0 100%;
	z-index: 1;
}

.hero-content {
	position: relative;
	z-index: 2;
}

.subtitle {
	font-size: 16px;
	color: #666;
	margin-bottom: 20px;
	display: block;
}

.hero-content h1 {
	font-size: 48px;
	font-weight: 700;
	color: #111;
	margin-bottom: 15px;
}

.profession {
	font-size: 18px;
	color: #444;
	margin-bottom: 30px;
}

.social-links a {
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #f3f4f6;
	color: #666;
	margin-right: 10px;
	transition: all 0.3s ease;
}

.social-links a:hover {
	background: var(--primary);
	color: #fff;
	transform: translateY(-3px);
}

.btn-primary {
	background: var(--gradient);
	border: none;
	padding: 12px 30px;
	border-radius: 25px;
	font-weight: 500;
	transition: all 0.4s ease;
}

.btn-primary:hover {
	transform: translateY(-4px);
	box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}



/* Hero Image */
.hero-image {
	position: relative;
	z-index: 2;
}

.hero-image img {
	max-width: 100%;
	height: auto;
}

/* Responsive */
@media (max-width: 991.98px) {
	.hero-section::after {
		width: 100%;
		right: -50%;
	}
	
	.hero-content {
		text-align: center;
		margin-bottom: 40px;
	}
	
	
}
/* education section */
.custom-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.card {
    border: none;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 180px;
    object-fit: cover;
}

.year{
    background-color: var(--primary);
    color:white;
    border-radius:10px;
    padding:5px;
    text-align:center;
    width:auto;
}

.objective{
    padding: 50px 0;
	/*background : linear-gradient(45deg, #4f46e5, #7c3aed);*/
	background: var(--gradient);
    color:white;
    p{
        font-size:20px;
    }
}
/* Pattern 2: Prismatic Effect */
.prism-category {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 30px;
    aspect-ratio: 1;
}

.prism-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.5s ease;
}

.prism-category:hover .prism-image {
    filter: hue-rotate(90deg) brightness(0.7);
}

.prism-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(79,70,229, 0.8), rgba(124, 58, 237, 0.8));
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
    transition: clip-path 0.5s ease;
}

.prism-category:hover .prism-overlay {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}


.category-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.category-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.category-count {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: white;
    font-size: 0.8rem;
}

.category-link {
    background:transparent;
    display: inline-block;
    padding: 8px 25px;
    margin-top: 15px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.category-link:hover {
    background: white;
    color: #2c3e50;
}

.category-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

[class*="-category"]:hover .category-content {
    opacity: 1;
}

@media (max-width: 768px) {
    .category-title {
        font-size: 1.2rem;
    }
    .hero-section::after {
		content: '';
		position: absolute;
		top: -50%;
		right: -20%;
		width: 80%;
		height: 150%;
		background: white;
		border-radius: 0 0 0 100%;
		z-index: 1;
	}
}

/* Drawer Styling */
.offcanvas {
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    color: white;
}

.profile-pic {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    margin-bottom: 10px;
}

.offcanvas a {
    color: white;
    font-size: 1.2rem;
    padding: 10px 15px;
    display: block;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.offcanvas a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /*height: 100vh;*/
    background-color: var(--background);
}

.hero-heading {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    font-size: 4rem;
    letter-spacing: -1px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    animation: float 4s ease-in-out infinite alternate;
    text-shadow: 0 0 10px rgba(127, 61, 255, 0.5);
}

/* Floating effect */
@keyframes float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-10px); }
}

/* Underline Effect */
.hero-heading::after {
    content: "";
    width: 50px;
    height: 4px;
    background: var(--primary);
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    transition: width 0.4s ease-in-out;
}

/* Slight Letter Distortion on Hover */
@keyframes distort {
    0% { letter-spacing: -1px; }
    50% { letter-spacing: 2px; }
    100% { letter-spacing: -1px; }
}

/* Sub-heading with futuristic glow */
.sub-heading {
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    color: var(--text);
    opacity: 0.8;
    letter-spacing: 1px;
    margin-top: 10px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

/* Light-colored heading with glow */
.hero-heading-light {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    font-size: 4rem;
    color: var(--light-text); /* Light text for visibility */
    position: relative;
    display: inline-block;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6); /* Glow effect */
    animation: float 4s ease-in-out infinite alternate;
}

/* Floating effect */
@keyframes float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-10px); }
}

/* Underline Effect */
.hero-heading-light::after {
    content: "";
    width: 50px;
    height: 4px;
    background: var(--light-text); /* Light underline */
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    transition: width 0.4s ease-in-out;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6); /* Glow effect on underline */
}

/* Sub-heading with soft glow */
.sub-heading-light {
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    color: var(--light-text);
    opacity: 0.9;
    letter-spacing: 1px;
    margin-top: 10px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.form-container {
    background: var(--light-text);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
    text-align: center;
}
/*h2 {*/
/*    font-size: 28px;*/
/*    background: var(--gradient);*/
/*    -webkit-background-clip: text;*/
/*    -webkit-text-fill-color: transparent;*/
/*    margin-bottom: 20px;*/
/*}*/
.form-group {
    margin-bottom: 15px;
    text-align: left;
}
label {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}
input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 16px;
    background: var(--background);
    color: var(--text);
}
textarea {
    resize: none;
    height: 100px;
}
.form-button {
    width: 100%;
    padding: 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--light-text);
    background: var(--gradient);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}
.form-button:hover {
    background: var(--hover);
}

.contact-section{
    padding:50px 0;
    background: var(--gradient);
}

/* Skill Card */
.skills-section{
    padding:100px 0;
    background: white;
}

.skill-card {
    background-color: #f8f9fa;
    /*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-tag {
    background: #eef2ff;
    color: var(--dark);
    font-size: 0.9rem;
    padding: 3px 9px;
    border-radius: 3px;
    font-weight: 400;
    display: inline-block;
}

.projects-section{
    background-color:white;
    padding:100px 0;
}

.copyright {
    padding-top: 20px;
    margin-top:10px;
    text-align: center;
    color: var(--primary);
}

.brand-link{
    color:var(--text);
    font-weight: bold;
    text-decoration:none;
}

textarea{
    resize:none;
}
.swal-wide {
  width: 70% !important;
}

@media (max-width: 768px) {
  .swal-wide {
    width: 100% !important;
  }
}
pre {
    font-family: 'Chakra Petch', sans-serif;
    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 */
}

.hero-heading.active::after {
    width: 100%;
}

.hero-heading.active {
    text-shadow: 0 0 20px rgba(127, 61, 255, 0.8);
    animation: distort 0.3s ease-in-out;
}

.hero-heading-light.active::after {
    width: 100%;
}

.hero-heading-light.active {
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.9);
}

.hero-heading::after,
.hero-heading-light::after {
    transition: width 0.4s ease-in-out;
}
