/* General Styles */
:root {
    --primary-color: #6c63ff;
    --secondary-color: #f50057;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
}

body {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    overflow-x: hidden;
    padding-top: 0; /* Remove default padding */
}

.section-padding {
    padding: 30px 0;
}

/* Fix for mobile/tablet overlap with navbar */
@media (max-width: 991px) {
    
    #home {
        padding-top: 70px; /* Add padding to account for navbar height */
    }
    
    .hero {
        height: calc(100vh - 0px); /* Adjust hero height for mobile */
    }
}

.section-title {
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    letter-spacing:2px;
    font-weight: 400;
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 20px;
    text-transform: uppercase;
}

.section-title h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Navbar Styles */
.navbar {
    padding: 20px 0;
    transition: all 0.3s ease;
    z-index: 1000; /* Ensure navbar is above other content */
}

.navbar.scrolled {
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar.scrolled .nav-link{
    color:black;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
    color:white;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}
.navbar .dropdown-toggle::after{
    display: none !important;
}
/* Mobile navbar adjustments */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: #fff;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        margin-top: 10px;
    }
    
    .navbar-collapse .nav-link{
        color:black;
    }
    
    .navbar-collapse .nav-link:hover{
        color: var(--primary-color);
    }
    
    .navbar-light .navbar-toggler {
        border: none;
        outline: none;
    }
    
    .navbar-light .navbar-toggler:focus {
        box-shadow: none;
    }
}

/* Hero Section with Zoom Effect */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/profile/1.png');
    background-size: cover;
    background-position: center;
    animation: zoomInOut 15s infinite alternate;
    z-index: -1;
}

@keyframes zoomInOut {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.hero-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    padding: 0 15px;
	margin-top:10%;
}

.hero-content h1 {
    letter-spacing:2px; 
    font-weight: 400; 
    text-transform: uppercase;
    font-size: 4rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero-btn {
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

@media (max-width: 768px) {
    .hero-content {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        color: #fff;
        padding:100px 15px;
    	
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Education Section */
.education-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: stretch;
}

.education-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.education-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-color);
}

.education-card .year {
    display: inline-block;
    padding: 6px 18px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-align: center;
    white-space: nowrap;
    max-width: fit-content;
}

.education-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.education-card h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.education-card .content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.education-card .content > * {
    flex-shrink: 0;
}


/* Services Section */
#education, #contact, .services {
    background: #f9f9f9;
}

.service-card {
    /*background: #fff;*/
    /*border-radius: 10px;*/
    /*padding: 40px 30px;*/
    /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);*/
    /*transition: all 0.3s ease;*/
    /*margin: 15px;*/
    /*text-align: center;*/
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures content is evenly distributed */
    align-items: center;
    height: 100%; /* Makes all cards equal height */
    background: #fff;
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin: 15px;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-size: 2rem;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--secondary-color);
    transform: rotateY(360deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Projects Section */
.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
}

.project-img {
    transition: all 0.5s ease;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.project-item:hover .project-img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(108, 99, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s ease;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-info {
    text-align: center;
    color: #fff;
    padding: 20px;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.1s;
}

.project-info p {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.2s;
}

.project-info .btn {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.3s;
}

.project-item:hover .project-info h3,
.project-item:hover .project-info p,
.project-item:hover .project-info .btn {
    transform: translateY(0);
    opacity: 1;
}

/* Contact Form Styles */
.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.form-control {
    height: 55px;
    border-radius: 30px;
    padding: 10px 25px;
    margin-bottom: 25px;
    border: 1px solid #eee;
    box-shadow: none;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(108, 99, 255, 0.1);
}

textarea.form-control {
    height: 150px;
    padding: 15px 25px;
    resize: none;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    text-align: center;
    margin-right: 20px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: #fff;
    padding: 80px 0 20px;
}

.footer h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 15px;
    color: var(--primary-color);
}

.footer-links li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

.footer-links li::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 50px;
}

.footer-bottom .brand-link{
    text-decoration:none;
    color: var(--primary-color);
}

/* Button Styles */
.btn-custom {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary-custom {
    background: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
}

.btn-primary-custom:hover {
    color: var(--primary-color);
    background: transparent;
    border: 2px solid var(--primary-color);
}

.btn-outline-custom {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline-custom:hover {
    background: #fff;
    color: var(--primary-color);
}

/* Owl Carousel Custom Styles */
.owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
    background: var(--primary-color) !important;
    color: #fff !important;
    font-size: 1.5rem !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.owl-nav button:hover {
    background: var(--secondary-color) !important;
}

.owl-prev {
    left: -25px;
}

.owl-next {
    right: -25px;
}

.owl-dots {
    margin-top: 30px !important;
    text-align: center;
}

.owl-dot span {
    background: #ddd !important;
    transition: all 0.3s ease;
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 5px;
}

.owl-dot.active span {
    background: var(--primary-color) !important;
    width: 30px !important;
    border-radius: 15px;
}

/* Responsive adjustments for owl carousel */
@media (max-width: 768px) {
    .owl-nav button {
        display: none;
    }
    
    .service-card {
        margin: 10px 5px;
    }
    
    /* Ensure Dots are Always Visible */
    .owl-carousel .owl-dots {
        display: block !important;
    }
}

/* Experience Timeline Styles */
.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
    width: 100%;
}

.timeline-content {
    position: relative;
    width: calc(50% - 30px);
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: auto;
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    left: -38px;
    top: 20px;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-item:nth-child(even) .timeline-dot {
    right: -38px;
    left: auto;
}

.timeline-date {
    display: inline-block;
    padding: 5px 15px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.card {
    border: none;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.card-body {
    padding: 25px;
}

.card-subtitle {
    color: #6c757d;
    font-size: 1rem;
}

.list-unstyled li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.list-unstyled li i {
    color: var(--primary-color);
    margin-right: 10px;
}

@media (max-width: 767.98px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }
    
    .timeline-dot {
        left: -37px !important;
    }
    
    .timeline-date {
        margin-left: 20px;
    }
}
.name{
    letter-spacing:2px; 
    font-weight: 400; 
    text-transform: uppercase;
}
textarea{
    resize:none;
}
.swal-wide {
  width: 70% !important;
}

@media (max-width: 768px) {
  .swal-wide {
    width: 100% !important;
  }
}
pre {
    font-family: "Montserrat", 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 */
}
.blog-container{
    margin-top:100px;
}

.post-detail{
    margin-top:20px;

}
.fw-500{
    font-weight:500;
}
.fw-600{
    font-weight:600;
}
.progress {
    height: 10px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.5);
}

.progress-bar {
    background-color: var(--primary-color);
}


.youtube-iframe{
    width:100%; 
    height:60vh
}

.post-detail span{
    padding:10px;
}
.swal-img{
    width:100%;
    height:60vh;
    object-fit:cover;
}
.blog-img{
    width:100%;
    height:35vh;
    object-fit:cover;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}