:root {
    --primary-bg: #1a1a1a;
    --secondary-bg: #2a2a2a;
    --border-color: #ffffff;
    --bg-color: #ffffff;
    --header-bg: #f5f5f5;
    --header-shadow: rgba(0, 0, 0, 0.3);
    --hover-color: #f09400;
    --switch-bg: rgb(247, 93, 93);
    --switch-color: #ffffff;
    --text-color: #131313;
    --text-color-muted: #7a7a7a;
    --accent-color: #ed8f03;
    --button-bg: #252525;
    --button-text: #ffffff;
    --button-hover-bg: #2ecc71;
    --button-border: #ffffff;
    --image-border: #595858;
    --box-bg: #ffffff;
    --box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    --border-color: #ddd;
    --personal-details-bg: #f5f5f5;
    --animated-text-color: #ff7b00;
    --background-color: #dfdfdf;  
    --header-color: #ef0000;
    --timeline-color: #343333; 
    --circle-bg: #797979;
    --circle-fill: #e63946;
    --skill-bg-color: #c6c6c6;
    --box-shadows: 0 4px 10px #111;
    --color-text: #111;
    --back-colors: #cdcccc;
    --container-color: #7b7b7b;
    
}

.dark-mode {
    --bg-color: #111111;
    --header-bg: #1d1d1d;
    --header-shadow:rgba(212, 212, 212, 0.5);
    --hover-color: #f39c12;
    --switch-bg: #ffffff;
    --switch-color: #f39c12;
    --text-color: #ffffff;
    --text-color-muted: #d7d6d6;
    --accent-color: #ff9900;
    --button-bg: #333333;
    --button-text: #ffffff;
    --button-hover-bg: #2e9fcc;
    --button-border: #4a4a4a;
    --image-border: #777777;
    --box-bg: #1b1b1b;
    --box-shadow: 0 4px 10px rgba(255, 255, 255, 0.842);
    --border-color: #444444;
    --personal-details-bg: rgba(70, 70, 70, 0.5);
    --animated-text-color: #ffc107;
    --background-color: #373737;
    --header-color: #f1bd6f;
    --timeline-color: #d5d5d5;
    --circle-bg: #797979;
    --circle-fill: #ff8e0e;
    --skill-bg-color: #373737;
    --back-colors: #333;
    --color-text: #ffffff;
    --box-shadows: 0 4px 10px #cbc9c9;
    --container-color: #454545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
}

body.dark-mode {
    background-color: var(--primary-bg);
    color: var(--text-color);
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--header-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 2px 10px var(--header-shadow);
    transition: background-color 0.3s, box-shadow 0.3s;
}

.logo h1 {
    font-size: 24px;
    color: var(--text-color);
    padding-left: 10px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    transition: all 0.3s;
    margin-top: 12px;
}

.nav-menu ul li {
    margin: 0 15px;
}

.nav-menu ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 18px;
    transition: color 0.3s;
}

.nav-menu ul li a:hover {
    color: var(--hover-color);
}

.toggle-switch {
    position: relative;
    margin-right: 15px;
}

#theme-switch {
    display: none;
}

#theme-switch + label {
    width: 50px;
    height: 26px;
    background: var(--switch-bg);
    display: block;
    border-radius: 50px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
}

#theme-switch + label:before {
    content: '';
    width: 22px;
    height: 22px;
    background: var(--switch-color);
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: 0.3s;
}

#theme-switch:checked + label:before {
    transform: translateX(24px);
    background-color: var(--switch-bg);
}

#theme-switch:checked + label {
    background: var(--switch-color);
}

.menu-toggle {
    display: none;
    color: var(--text-color);
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-menu ul {
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: -100%;
        background-color: var(--header-bg);
        width: 100%;
        transition: left 0.3s ease-in-out;
        padding: 20px 0;
    }
    
    .nav-menu ul.active {
        left: 0;
    }
    
    .nav-menu ul li {
        margin: 15px 0;
        text-align: center;
    }
    
    .menu-toggle {
        display: block;
        margin-right: 20px;
    }
}

/*header*/

/*hero*/

.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin: 0 auto;
    max-width: 1200px;
    flex-wrap: wrap;
}

.content {
    flex: 1;
    margin-right: 50px;
    min-width: 300px;
    padding: 30px;
    margin-top: 10px;
    margin-bottom: 40px;
}

.lead {
    color: var(--text-color-muted);
    padding: 8px;
    margin-bottom: 10px;
}

.reveal-text {
    position: relative;
    font-size: 2.5rem;
    font-weight: bold;
    color: transparent;
    -webkit-text-stroke: 2px var(--accent-color);
    overflow: hidden;
    padding: 10px;
    margin-bottom: 10px;
    word-break: break-word;
}

.reveal-text::before {
    content: "Here I'm Marzana Tithi";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    color: var(--accent-color);
    white-space: nowrap;
    overflow: hidden;
    padding: 10px;
    animation: reveal 5s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes reveal {
    to {
        width: 100%;
    }
}

.btn-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
    padding: 10px;
}

.hire, .download-btn {
    margin: 0;
    width: 160px;
    color: var(--button-text);
    font-size: 13px;
    box-sizing: border-box;
    font-family: sans-serif;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    padding: 1em 0.5em;
    cursor: pointer;
    background: linear-gradient(var(--button-bg), var(--button-bg) 50%, var(--button-hover-bg) 50%, var(--button-hover-bg));
    background-size: 100% 200%;
    transition: background 1s;
    border: 1px solid var(--button-border);
    border-radius: 12px;
}

.hire a, .download-btn a {
    color: var(--button-text);
    text-decoration: none;
}

.hire:hover, .download-btn:hover {
    background-position: 0 100%;
}

.download-btn i {
    margin-right: 5px;
    color: var(--button-text);
}

.image-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid var(--image-border);
    border-style: double;
    overflow: hidden;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: auto;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .hero-section {
        padding: 20px;
    }

    .content {
        margin-right: 20px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }

    .content {
        margin-right: 0;
        margin-bottom: 20px; /* Add space between text and image */
    }

    .reveal-text {
        font-size: 2rem;
    }

    .btn-container {
        justify-content: center;
        gap: 15px;
    }

    .image-placeholder {
        width: 180px;
        height: 180px;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .reveal-text {
        font-size: 1.5rem;
    }

    .btn-container {
        gap: 10px;
    }

    .hire, .download-btn {
        width: 140px; /* Adjust button width for small screens */
    }
}

/*hero*/

/*personal details*/

.bod {
    border-top: 0.5px solid var(--border-color);
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin-bottom: 20px;
    transition: color 0.3s, background-color 0.3s;
}

.container {
    background-color: var(--box-bg);
    box-shadow: var(--box-shadow);
    border-radius: 8px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    margin-top: 40px;
    margin-bottom: 40px;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.personal-details {
    background-color: var(--personal-details-bg);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: background-color 0.3s;
}

.personal-details h2 {
    margin-top: 0;
    border-bottom: 1px dashed var(--text-color);
    padding-bottom: 10px;
    margin-bottom: 10px;
    transition: border-color 0.3s;
}

.personal-details p {
    line-height: 25px;
    padding-top: 5px;
}

.main-heading {
    font-size: 2.3em;
    margin-bottom: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    color: var(--text-color);
    transition: color 0.3s;
}

#animatedText {
    color: var(--animated-text-color);
    font-weight: bold;
    transition: color 0.3s;
}

.subheading {
    font-size: 1em;
    margin-top: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: var(--text-color);
    transition: color 0.3s;
}

.signature {
    font-family: 'Alex Brush', cursive;
    font-size: 2em;
    margin-top: 20px;
    color: var(--text-color);
    transition: color 0.3s;
}
/* Responsive Design */
@media (max-width: 768px) {
    .bod {
        padding: 10px;
    }

    .container {
        padding: 20px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .main-heading {
        font-size: 2em;
    }

    .subheading {
        font-size: 0.9em;
    }

    .signature {
        font-size: 1.8em;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }

    .personal-details {
        padding: 15px;
    }

    .main-heading {
        font-size: 1.8em;
    }

    .subheading {
        font-size: 0.8em;
    }

    .signature {
        font-size: 1.6em;
    }
}

/*personal details*/

/*education*/

.containers {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 30px;
}

.experience-container, .education-container {
    background-color: var(--background-color);
    color: var(--text-color);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    padding: 20px;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
  
}

div p{
  margin-bottom: 12px;
  font-size: 17px;
}

.heading {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--header-color);
    text-align: center;
    padding-bottom: 8px;
}

.row-item {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.timeline-container {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.timeline {
    display: flex;
    align-items: center;
}

.timeline i {
    font-size: 18px;
    color: var(--timeline-color);
    margin-left: 6px;
    margin-top: 6px;
}

.row-divider {
    border-top: 1px solid var(--timeline-color);
    opacity: 0.5;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .containers {
        flex-direction: column;
        align-items: center; /* Centers containers when stacked */
    }

    .experience-container, .education-container {
        width: 100%; /* Make containers take full width on smaller screens */
    }

    .row-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .heading {
        font-size: 1.2rem; /* Adjusts heading size for smaller screens */
    }

    .experience-container, .education-container {
        padding: 15px;
    }

    .row-item {
        flex-direction: row;
        align-items: flex-start;
        margin-bottom: 15px;
    }

    .timeline-container {
        margin-right: 15px; /* Adjust spacing on mobile screens */
    }

    .timeline i {
        font-size: 12px; /* Adjust icon size for mobile */
        margin-left: 4px;
        margin-top: 8px;
       
    }
  
}

/*education*/

/*skill*/

.skills-section {
    padding: 20px;
    text-align: center;
    margin: 0;
    border-top: 0.5px solid  #ddd;  
    background-color: var( --skill-bg-color); 
}

.container-skill {
    max-width: 1000px;
    margin: 0 auto;
    height: auto;
    background-color: var(--background-color);
    color: var(--text-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var( --box-shadow);
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.heading-skill {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.subtext-skill {
    font-size: 1rem;
    margin-bottom: 40px;
}

.skills-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.skill {
    text-align: center;
    margin-bottom: 30px;
}

.circles {
    width: 120px;
    height: 120px;
    background: conic-gradient(var(--circle-fill) 0%, var(--circle-bg) 0%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
    transition: background 1.5s ease-in-out;
}

.skill-label {
    font-size: 1.1rem;
    font-weight: bold;
}

/* Responsive design */
@media (max-width: 768px) {
    .skills-container {
        flex-direction: column;
        align-items: center;
    }

    .circle {
        width: 100px;
        height: 100px;
    }

    .heading-skill {
        font-size: 2rem;
    }

    .subtext-skill {
        font-size: 0.9rem;
    }
}

/*skill*/

/*newsletter*/

.newsletter-section {
    padding: 20px;
    text-align: center;
    border-top: 0.5px solid  #ddd;
    
}

.container-news {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--back-colors);
    color: var( --container-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--box-shadows);
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 40px;
    
}

.heading-container {
    margin-bottom: 30px;
}

.heading-news {
    font-size: 2.5rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ff9900;
}

.heading-design {
    display: inline-block;
    width: 40px;
    height: 2px;
    background-color: #ff5739;
    margin: 0 10px;
}

.subtext-news {
    margin: 15px 0;
    color: var(--color-text);
    font-size: 1rem;
}

.form-container {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.input-field {
    padding: 10px;
    border: 1px solid #fff;
    border-radius: 5px;
    font-size: 1rem;
    width: 200px;
}

.subscribe-btn {
    padding: 10px 20px;
    background-color: #e63946;
    border: none;
    color: white;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.subscribe-btn:hover {
    background-color: #cc2e42;
}

.subscribe-btn i {
    margin-right: 5px;
    font-size: 1em;
}

/* Toast notification styling */
.toast {
    visibility: hidden;
    max-width: 300px;
    margin: 0 auto;
    background-color:  #333;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    font-size: 1rem;
    transform: translateX(-50%);
}

.toast.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {
    from { bottom: 0; opacity: 0; }
    to { bottom: 30px; opacity: 1; }
}

@keyframes fadeout {
    from { bottom: 30px; opacity: 1; }
    to { bottom: 0; opacity: 0; }
}


/* Responsive Design */
@media (max-width: 768px) {
    .form-container {
        flex-direction: column;
        gap: 15px;
    }

    .input-field {
        width: 100%;
    }

    .heading-news{
        font-size: 2rem;
    }
}

/*newsletter*/

/*footer*/

footer {
    background-color: #000; /* Black background */
    color: #fff; /* White text */
    text-align: center;
    padding: 20px;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: center; /* Center both items horizontally */
    align-items: center;
    flex-direction: column; /* Stack items vertically */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

footer p {
    margin: 0;
    font-size: 14px;
    text-align: center;
}

.brand {
    color: red;
    font-weight: bold;
}

.to-top {
    cursor: pointer;
    margin-top: 10px;
}

.circlee {
    width: 50px;
    height: 50px;
    background-color: #fff; /* White circle background */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.circlee:hover {
    background-color: #ddd; /* Slight hover effect for better UX */
}

.circlee i {
    font-size: 20px;
    color: #000;
}

/* Medium and Large Screens */
@media (min-width: 768px) {
    .footer-content {
        flex-direction: row; /* Place items in a row on larger screens */
        justify-content: space-between; /* Space the copyright and to-top button */
    }

    .circlee {
        width: 40px;
        height: 40px;
    }

    .circle i  {
        font-size: 18px;
    }

    footer p {
        font-size: 16px;
    }
}


/*footer*/

