body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, #f3e5f5, #e0f7fa, #f3e5f5);
    overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: white;
    border-bottom: 1px solid #eaeaea;
    position: relative;
}

.navbar-left {
    display: flex;
    align-items: center;
    margin-left: 2%;
}

.logo {
    width: 70px;
    height: 70px;
    margin-right: 10px;
}

.app-name {
    font-size: 1.5em;
    background: linear-gradient(45deg, #36e2d9, #4B0082, #003366);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: bold;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 2%;
}

.navbar-right a {
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 1em;
}

.sign-in {
    color: #38b2ac;
    border: 1px solid #38b2ac;
}

.get-started {
    background-color: #38b2ac;
    color: white;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background-color: #333 !important;
    margin: 4px 0;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .navbar-right {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .navbar-right.active {
        display: flex;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: white;
        border-top: 1px solid #eaeaea;
    }
}
























/* Container */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    margin: 5% auto;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

/* Form and CV preview containers */
.form-container, .cv-preview {
    width: 100%;
    padding: 20px;
    background-color: white;
    margin-bottom: 20px;
}

.form-container h2, .form-container label {
    color: #333;
}

.form-container input, .form-container textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-container button {
    padding: 10px 20px;
    background-color: #2b3a67;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.form-container button:hover {
    background-color: #1d2a4b;
}

/* Sidebar and main content layout */
.cv-preview {
    display: flex;
    flex-direction: column;
    height: auto !important; 
}

.sidebar {
    width: 100%;
    background-color: #0d2c06;
    color: white;
    padding: 20px;
    box-sizing: border-box;
    /* position: sticky; */
    /* top: 0 !important;  */
}

.sidebar h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

.sidebar .section {
    margin-bottom: 20px;
}

.sidebar h3 {
    font-size: 18px;
    margin-bottom: 10px;
    border-bottom: 1px solid white;
    padding-bottom: 5px;
}

.sidebar p {
    font-size: 14px;
    margin-bottom: 10px;
}

.main-content {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.header-left {
    max-width: 100%;
}

.header-left h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.contact-info p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* CV content layout */
.cv-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.cv-content .column {
    width: 100%;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.cv-content h3 {
    font-size: 18px;
    border-bottom: 2px solid #2b3a67;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.cv-content p {
    font-size: 14px;
    margin-bottom: 10px;
}

/* Action buttons */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.action-buttons button {
    padding: 10px 20px;
    background-color: #2b3a67;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.action-buttons button:hover {
    background-color: #1d2a4b;
}

/* Media queries for responsiveness */
@media (min-width: 768px) {
    .container {
        width: 80%;
    }

    .cv-preview {
        flex-direction: row;
    }

    .sidebar {
        width: 25%;
        height: 100vh;
    }

    .main-content {
        width: 75%;
    }

    .cv-content .column {
        width: 45%;
        margin: 2.5%;
    }

    .header-left {
        max-width: 60%;
    }
}

@media (min-width: 1024px) {
    .cv-content .column {
        width: 45%;
    }
}














.print-btn-sc{
    margin: 2rem 0 6rem 0;
}

/* print section */
@media print{
    body *{
        visibility: hidden;
    }

    .non_print_area{
        display: none;
    }

    .print_area, .print_area *{
        visibility: visible;
    }

    .print_area{
        width: 100%;
        position: absolute;
        left: 0;
        top: 0;
        overflow: hidden;
    }
}






.footer {
    background-color: #fff;
    color: #333; 
    padding: 2rem;
    border-top: 1px solid #ddd; 
    margin-top: 5%;
}

.footer h3 {
    background: linear-gradient(45deg, #36e2d9, #4B0082, #003366);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 1.5rem;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.footer-top > div {
    flex: 1;
    padding: 0 1rem;
    min-width: 200px; /* Ensure blocks don't shrink too much */
}

.logo img {
    max-width: 150px; /* Adjust logo size */
    width: 100%; /* Make logo responsive */
    height: auto;
}

.logo h4 {
    font-size: 1.25rem; /* Responsive text size */
    margin-top: 0.5rem;
}

.quick-links, .social-media, .contact {
    margin-top: 1rem;
}

.quick-links ul, .social-media ul {
    list-style: none;
    padding: 0;
}

.quick-links li, .social-media li {
    margin-bottom: 0.5rem;
}

.quick-links a, .social-media a {
    color: black; 
    text-decoration: none;
}

.quick-links a:hover, .social-media a:hover {
    text-decoration: underline;
}

.social-icon::before {
    content: ''; 
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #007bff; 
    border-radius: 50%;
    margin-right: 0.5rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 3%;
    height: 20px;
}

.footer-bottom hr {
    border: 0;
    border-top: 1px solid #0e0e0e72;
    margin: 1rem 0;
}

.footer-bottom p {
    margin: 0.5rem 0;
    font-size: 0.875rem; /* Adjusted for better readability on small screens */
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center; /* Center align content for smaller screens */
    }
    
    .footer-top > div {
        padding: 0.5rem 0;
    }

    .footer h3 {
        font-size: 1.25rem; /* Adjusted heading size for mobile */
    }
}
