:root {
    --primary: #ff4c30;
    --dark: #212529;
    --primary-color: #ff4c30;
    --secondary-color: #1a1a1a;
    --dark-color: #121212;
    --darker-color: #0a0a0a;
    --light-color: #f8f9fa;
    --gray-color: #333333;
    --light-gray: #aaaaaa;
    --card-bg: #1e1e1e;
    --border-color: #2c2c2c;
}
        

body {
    font-family: "Poppins", sans-serif;
    font-style: normal;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 24px;
}

.nav-link {
    font-weight: 500;
    /*color: var(--dark) !important;*/
}

.navbar .nav-link.active {
    background-color: var(--primary) !important;
    padding: 10px;
    border-radius: 10px;
    color:white;
}


/* Hero Section */
.hero-section {
    padding: 100px 0 100px;
    position: relative;
    overflow: hidden;
}

.greeting {
    font-size: 1.2rem;
    color: #666;
    display: block;
    margin-bottom: 10px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    position: relative;
}

.hero-content h1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100px;
    height: 4px;
    background: var(--primary);
}

.profession {
    font-size: 1.2rem;
    color: #666;
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 0 0 50% 50%;
    overflow: hidden;
    height:100vh;
    border: 2px solid var(--primary);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit:cover;
}
@media (max-width:768px){
    .image-wrapper {
        height:60vh;
    }

}

@media (max-width:991px){
    .hero-image {
        margin-top:60px;
    }
    .hero-image .image-wrapper{
        height:65vh !important;
    }
}

/* Services Section */
.services-section .row {
    display: flex;
    flex-wrap: wrap;
}

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures content is evenly distributed */
    height: 100%; /* Forces all cards to have equal height */
    padding: 30px;
    text-align: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    overflow: hidden; /* Prevents content from overflowing */
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Ensures column height matches */
.col-md-3 {
    display: flex;
}


/* Experience Section */
.experience-card {
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    text-align: left;
}

.exp-year {
    display: inline-block;
    padding: 5px 15px;
    background: var(--primary);
    color: #fff;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Portfolio Section */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,76,48,0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s;
    padding: 15px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4,
.portfolio-overlay p{
    text-align:center;
}

/* Contact Section */
.contact-form .form-control {
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.btn-primary {
    background: var(--primary);
    border: none;
    padding: 12px 30px;
}

.btn-primary:hover {
    background: #e63e23;
}

/* education */
 .timeline {
    position: relative;
    padding-left: 40px;
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
    left: -20px;
    top: 0;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--primary-color);
    left: -27px;
    top: 5px;
}

.timeline-date {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-title {
    font-weight: 700;
    margin-bottom: 10px;
    
}

.timeline-location {
    font-style: italic;
    margin-bottom: 15px;
    color: var(--light-gray);
}
        
        
/* Footer */
.footer {
    background: var(--dark);
    color: #fff;
}

.social-links a {
    color: #fff;
    margin-left: 20px;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding: 120px 0 60px;
    }
}

@media (max-width: 767.98px) {
    .hero-content {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .hero-content h1::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        margin-top: 20px;
        text-align: center;
    }
    
    .social-links a {
        margin: 0 10px;
    }
}

.section-title h2 {
    font-family: "Merriweather Sans", sans-serif;
    text-transform: uppercase;
    color: black; /* Accent color */
    font-weight: 400;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    font-size: 2.5rem;
}

.section-title h2::after {
    content: "";
    width: 50px;
    height: 4px;
    background-color: #ff4c30;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}
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 */
}

.brand-link{
    color:var(--primary);
    text-decoration:none;
}

.blog-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
.blog-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}
.blog-card:hover img {
    transform: scale(1.1);
}
.blog-caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
}

.blog-date, .blog-category {
    position: absolute;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.blog-date {
    top: 10px;
    left: 10px;
}
.blog-category {
    top: 10px;
    right: 10px;
}
.blog-card:hover .blog-date,
.blog-card:hover .blog-category {
    background-color: var(--primary) !important;
    opacity: 1;
}


.blog-container{
    margin-top:100px;
}
.post-detail i{
    color: var(--primary) !important;
}
.post-detail{
    margin-top:20px;
}
.fw-500{
    font-weight:500;
}
.fw-600{
    font-weight:600;
}


.youtube-iframe{
    width:100%; 
    height:60vh
}

section{
    padding:100px 0;
}
.post-detail span{
    padding:10px;
}
.swal-img{
    width:100%;
    height:60vh;
    object-fit:cover;
}
.postimg{
     width:100%;
    height:60vh;
    object-fit:cover;   
}
.blog-img{
    width:100%;
    height:35vh;
    object-fit:cover;
}

.edu-img{
    height:80vh;
    width:100%;
    object-fit:cover;
}