html,body{
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6, strong{
	color: #2d3748;
	font-family: 'Russo One', sans-serif;
	font-weight: 500;
}

.text-center {
    text-align: center;
}

.text-center-no-line-height {
    text-align: center;
    line-height: 0;
}

p, li, span, label, input, textarea{
	color: #718096;
	font-family: 'Roboto Mono', monospace;
}

a{
	text-decoration: none;
	color:#17a2b8;
}

.certificate-item a {
	display: block;
	position: relative;
	padding-right: 25px;
	color: inherit;
	transition: transform 0.2s;
}

.certificate-item a:hover {
	transform: translateX(5px);
}

.certificate-item a::after {
	content: '→';
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	color: #17a2b8;
	font-family: 'Roboto Mono', monospace;
}

ul{
	list-style: none;
}

h1 { font-size: 56px;}
h2 { font-size: 36px;}
h3 { font-size: 28px;}
h4 { font-size: 24px;}
h5 { font-size: 20px;}
h6 { font-size: 16px;}

.s1{
    background-color: #f8f9fc;
    border-bottom: 1px solid #e0e5f2; 
    overflow: auto;
    padding-top: 80px;
}

.s2{
    background-color: #ffffff;
    border-bottom: 1px solid #e0e5f2;
    overflow: auto;
}

.main-container{
	width: 1200px;
	margin: 0 auto;
	padding: 30px;
}

.projects .main-container,
.s1 .main-container {
	width: 90%;
	max-width: 1400px;
	padding: 30px 15px;
}

@media screen and (max-width: 1200px){
	.main-container{
		width: 95%;
	}
}

@media screen and (max-width: 768px) {
	.main-container {
		padding: 15px;
	}

	.experience .main-container,
	.projects .main-container,
	.s1 .main-container {
		width: 100%;
		padding: 15px;
	}

	.timeline {
		padding: 20px 0 0 30px;
	}

	.timeline::before {
		left: 10px;
	}

	.timeline-item::before {
		left: -25px;
	}

	.timeline-content {
		padding: 20px;
	}

	.role {
		font-size: 1.2em;
	}

	.company {
		font-size: 1em;
	}

	.duration {
		font-size: 0.85em;
	}

	.achievements li {
		font-size: 0.9em;
		line-height: 1.5;
		margin-bottom: 12px;
	}

	.project-title {
		flex-direction: column;
		align-items: flex-start;
		gap: 5px;
	}

	.project-tag {
		font-size: 10px;
		padding: 3px 6px;
	}

	.thumbnail {
		height: 180px;
	}

	.project-preview {
		padding: 20px;
	}

	.project-info {
		font-size: 0.9em;
	}
}

.greetings{
    display: grid;
    text-align: center;
    align-content: center;
    /* min-height: 10em; */

}

.intro-wrapper{
	background-color: #ffffff;
	border:1px solid #e0e5f2;
	border-radius:5px 5px 0 0;


	-webkit-box-shadow: -1px 1px 3px -1px rgba(0,0,0,0.75);
	-moz-box-shadow: -1px 1px 3px -1px rgba(0,0,0,0.75);
    box-shadow: -1px 1px 3px -1px rgba(0,0,0,0.75);

    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 3em 30em;
    grid-template-areas: 
    'nav-wrapper nav-wrapper'
    'left-column right-column'
    ;
}
.nav-wrapper{
    grid-area: nav-wrapper;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fc;
    /* border-radius:5px 5px 0 0; */

}
.left-column{
    grid-area: left-column;
    display: grid;
	align-content: center;
  
}

.right-column{
    grid-area: right-column;
    display: grid;
    align-content: center;
    
}

.dots-wrapper{
    display: flex;
    padding: 10px;
}

.browser-dot{
	height: 15px;
	width: 15px;
    border-radius: 50%;
    margin: 5px;
    
    -webkit-box-shadow: -1px 1px 3px -1px rgba(0,0,0,0.75);
	-moz-box-shadow: -1px 1px 3px -1px rgba(0,0,0,0.75);
	box-shadow: -1px 1px 3px -1px rgba(0,0,0,0.75);
}

#dot-1{
	background-color:  #FC6058;
}

#dot-2{
	background-color:  #FEC02F;
}

#dot-3{
	background-color:  #2ACA3E;
}

#navigation a{
	color:var(--mainText);
}


#navigation{
	margin:0;
	padding: 10px;
}

#navigation li{
	display: inline-block;
	margin-right: 5px;
	margin-left:5px;
}
#profile-pic{
    display: block;
    margin: 0 auto;
    height: 200px;
    width: 200px;
    object-fit: cover;
}

#theme-options-wrapper{
	display: flex;
	justify-content: center;
}

.theme-dot{
	height: 30px;
	width: 30px;
	background-color: black;
	border-radius: 50%;

	margin: 5px;
	border:2px solid #4a5568;

	-webkit-box-shadow: -1px 1px 3px -1px rgba(0,0,0,0.75);
	-moz-box-shadow: -1px 1px 3px -1px rgba(0,0,0,0.75);
	box-shadow: -1px 1px 3px -1px rgba(0,0,0,0.75);

	cursor: pointer;
}

.theme-dot:hover{
	border-width: 5px;
}


#light-mode{
	background-color: #fff;
}

#blue-mode{
	background-color: #192734;
}

#green-mode{
	background-color: #78866b;
}

#purple-mode{
	background-color: #7E4C74;
}

#settings-note{
	font-size: 12px;
	font-style: italic;
	text-align: center;
}

#preview{
	width: 300px;
	border:1.5px solid #17a2b8;
	background-color: rgba(247, 250, 252, 0.8);
	padding:15px;
	position: relative;
}

.corner{
	width:7px;
	height: 7px;
	border-radius: 50%;
	border:1.5px solid #17a2b8;
	background-color: #fff;
	position: absolute;
}


#corner-tl{
	top:-5px;
	left: -5px
}

#corner-tr{
	top:-5px;
	right: -5px
}


#corner-br{
	bottom:-5px;
	right: -5px
}


#corner-bl{
	bottom:-5px;
	left: -5px
}
#preview-shadow{
    background-color: #edf2f7;
	max-width: 300px;
	height: 180px;
	padding-left: 30px;
	padding-top: 30px;
}

@media screen and (max-width: 800px){
	.intro-wrapper{
		grid-template-columns: 1fr;
		grid-template-areas: 
			'nav-wrapper'
			'left-column'
			'right-column'
		;
    }
    .right-column{
        justify-content: center;
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

.about-wrapper{
    display: grid;
    padding-bottom: 50px;
	padding-top: 50px;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background-color: #ffffff;
}

.left-content, .right-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media screen and (max-width: 768px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .project-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .thumbnail {
        height: 180px;
    }

    .timeline {
        padding: 20px 0 0 20px;
    }

    .timeline::before {
        left: 5px;
    }

    .timeline-item::before {
        left: -20px;
    }
}

@media screen and (max-width: 480px) {
    h1 { font-size: 42px; }
    h2 { font-size: 28px; }
    h3 { font-size: 22px; }
    h4 { font-size: 18px; }
    h5 { font-size: 16px; }
    h6 { font-size: 14px; }

    .project-wrapper {
        grid-template-columns: 1fr;
    }

    .timeline-content {
        padding: 20px;
    }

    .role {
        font-size: 1.1em;
    }

    .company {
        font-size: 0.9em;
    }

    .duration {
        font-size: 0.8em;
    }

    .achievements li {
        font-size: 0.85em;
    }
}

.certificates {
    margin-top: 30px;
}

.certificate-list {
    margin-top: 15px;
}

.certificate-item {
    background-color: #ffffff;
    border: 1px solid #4299e1;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.certificate-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(66, 153, 225, 0.2);
}

.certificate-item p {
    margin: 0;
    color: #2d3748;
    font-size: 0.95em;
    font-weight: 500;
}
#skills{
    background-color: #ffffff;
    display: flex;
    justify-content: space-evenly;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.skill-chip {
    background-color: #ffffff;
    color: #4299e1;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
    border: 1px solid #4299e1;
    transition: all 0.2s ease;
    cursor: default;
}

.skill-chip:hover {
    background-color: #4299e1;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(23, 162, 184, 0.2);
}

.social-links{
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.social-links a {
	color: #a0aec0;
	text-decoration: none;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 0.8rem;
}

.social-links a i {
	font-size: 1.2rem;
	width: 20px;
	text-align: center;
}

.social-links a:hover {
	color: #4299e1;
	transform: translateX(5px);
}

/* Specific colors for each social platform */
.social-links a[href*="linkedin"]:hover {
	color: #0077b5;
}

.social-links a[href*="github"]:hover {
	color: #333;
}

.social-links a[href*="mailto"]:hover {
	color: #ea4335;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
	.social-links {
		align-items: center;
	}
	
	.social-links a {
		justify-content: center;
	}
}

.education-section {
    background-color: #f8f9fc;
    padding: 50px 0;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.education-item {
    background-color: #ffffff;
    border: 1px solid #4a5568;
    border-radius: 5px;
    padding: 1.5rem;
    box-shadow: -1px 1px 3px -1px rgba(0,0,0,0.75);
}

.school {
    margin: 0 0 0.75rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.degree {
    margin: 0.4rem 0;
    font-size: 0.95rem;
}

.duration, .location {
    margin: 0.3rem 0;
    color: #718096;
    font-size: 0.85rem;
}

.education-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.education-item .school {
    color: #2c3e50;
    font-size: 1.2em;
    margin: 0 0 10px 0;
}

.education-item .degree {
    color: #4299e1;
    font-size: 1em;
    margin: 0 0 8px 0;
    font-weight: 500;
}

.education-item .duration,
.education-item .location {
    color: #718096;
    font-size: 0.9em;
    margin: 0 0 5px 0;
}

.project-wrapper{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap:20px;
    justify-content: center;
    align-content: center;
    padding-bottom: 50px;

}
.project{
    background-color: #ffffff;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project:hover {
	transform: translateY(-5px);
	box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.thumbnail{
    width: 100%;
    object-fit: contain;
    display: block;
    height: 220px;
    background-color: #f8f9fc;
    border-bottom: 1px solid #4a5568;
}
.project-preview{
    background-color: white;
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-preview .project-info {
    margin-bottom: 15px;
    flex-grow: 1;
}

.project-preview a {
    align-self: flex-start;
    margin-top: auto;
}
.project-title{
	color:black;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 10px;
}

.project-tag {
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	color: white;
	text-transform: uppercase;
}

.tag-android {
	background-color: #48bb78;
}

.tag-web {
	background-color: #4299e1;
}

.project-intro{
	color:#4b5156;
	font-size: 14px;
}

/* Experience Timeline Styles */
.experience {
    background-color: #f8f9fc;
    padding: 50px 0px;
    overflow-x: hidden;
}

.experience .main-container {
    width: 90%;
    max-width: 1400px;
    padding: 30px 15px,;
}

.section-subtitle {
    text-align: center;
    color: #718096;
    margin-bottom: 40px;
    font-size: 1.1em;
}

.timeline {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 20px 0 0 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    width: 2px;
    height: calc(100% - 80px);
    background: #4a5568;
    top: 40px;
    bottom: 40px;
    z-index: 0;
}

.timeline-item {
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -25px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4299e1;
    border: 2px solid #4a5568;
    top: 8px;
    z-index: 1;
}

.timeline-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    margin-right: 0;
    border: 1px solid #4a5568;
}

.role {
    color: #2c3e50;
    font-size: 1.4em;
    margin: 0 0 5px 0;
}

.company {
    color: #718096;
    font-size: 1.1em;
    margin: 0 0 10px 0;
}

.duration {
    color: #718096;
    font-size: 0.9em;
    margin-bottom: 20px;
}

.achievements {
    margin: 15px 0 0 0;
    padding-left: 0;
    list-style: none;
}

.achievements li {
    color: #718096;
    margin-bottom: 15px;
    line-height: 1.6;
    padding-left: 25px;
    position: relative;
}

.achievements li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: #4a5568;
    border-radius: 50%;
}

#contact-form{
	display: block;
	max-width: 600px;
	margin: 0 auto;
	border: 1px solid #4a5568;
	padding: 15px;
	border-radius: 5px;
	background-color: #f8f9fc;
	margin-bottom: 50px;

}

#contact-form label{
	line-height: 2.7em;
}
#contact-form textarea{
	min-height: 100px;
	font-size: 14px;
}

.input-field{
	width: 100%;
	padding-top: 10px;
	padding-bottom:10px; 
	background-color: #f7f9fc;
	border-radius: 5px;
	border:1px solid #4a5568;
	font-size: 14px;
}


#submit-btn{
	margin: 10px 0;
	width: 200px;
	padding-top: 10px;
	padding-bottom: 10px;
	color: #fff;
	background-color: #4299e1;
	border: none;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2d3748;
}

.logo-img {
    height: 32px;
    width: 32px;
    margin-right: 8px;
}

.logo-text {
    font-family: 'Russo One', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 2rem;
    margin-left: auto;
}

.nav-links a {
    color: #2d3748;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #4299e1;
}

/* Hamburger menu styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: #2d3748;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: #ffffff;
        flex-direction: column;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        padding: 10px 0;
        font-size: 1.1rem;
    }

    .logo-text {
        font-size: 1rem;
    }

    /* Hamburger animation */
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* Tablet specific adjustments */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .nav-content {
        padding: 0.8rem 2rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 0.95rem;
    }
}

html {
    scroll-behavior: smooth;
}

.footer {
    background-color: #2d3748;
    color: #ffffff;
    padding: 3rem 0 1rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-family: 'Russo One', sans-serif;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.footer-links a:hover {
    color: #4299e1;
}

.footer-section p {
    color: #a0aec0;
    margin: 0.3rem 0;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 1.5rem 1rem 0;
    text-align: center;
    border-top: 1px solid #4a5568;
}

.footer-bottom p {
    color: #a0aec0;
    font-size: 0.9rem;
}

/* Responsive Footer */
@media screen and (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }

    .footer-section {
        padding: 1rem 0;
    }

    .footer-section:not(:last-child) {
        border-bottom: 1px solid #4a5568;
    }
}

/* Tablet specific adjustments */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}
