/* General Styles */
body {
    font-family: Arial, Helvetica, sans-serif
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
}

/* Header */

header {
    background: linear-gradient(to right, #0066cc, #003366);
    color: white;
    text-align: center;
    padding: 50px 20px;
    font-size: 1.2em;
    width: 100vw; /* Ensure full viewport width */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    left: 0;
}

.hero h1 {
    font-size: 2.8em;
    margin-bottom: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 15px;
}

.cta-button {
    background: #ffcc00;
    color: #003366;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    font-size: 1.2em;
}

.cta-button:hover {
    background: #ffa500;
    transform: scale(1.05);
}

/* Navigation Menu */
nav {
    width: 100%;
    background: #004080;
    padding: 15px 0;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

nav ul li a {
    text-decoration:none;
    color: white;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 15px;
    transition: background 0.3s, transform 0.2s;
    font-size: 1.1em;
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Left Sidebar */
.left-sidebar {
    width: 280px; /* Slightly wider for better spacing */
    background: white;
    padding: 25px;
    text-align: center;
    box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.1); /* Softer shadow for elegance */
    border-radius: 12px;
    position: sticky;
    top: 20px;
    transition: all 0.3s ease-in-out;
}

/* Profile Picture */
.profile-pic {
    width: 160px; /* Slightly larger for emphasis */
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #0066cc;
    margin-bottom: 12px;
    transition: transform 0.3s ease-in-out;
}

.profile-pic:hover {
    transform: scale(1.08);
}

/* Main Content Styling */
main {
    flex-grow: 1;
    padding: 40px;
    background: white;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: left;
    min-height: 400px;
    width: 100%;
    line-height: 1.8; /* Better readability */
}

/* Improve readability of paragraphs */
main p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px; /* Space between paragraphs */
    text-decoration: dashed;
}

/* Improve heading visibility */
main h2 {
    font-size: 1.8em;
    color: #003366;
    border-bottom: 3px solid #ffcc00;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

/* Style for lists */
main ul {
    list-style-type: georgian;
    padding-left: 20px;
}

main ul li {
    margin-bottom: 8px;
    font-size: 1.1em;
}

/* Call-to-Action Button */
.cta-button {
    background: #ffcc00;
    color: #003366;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    font-size: 1.2em;
    margin-top: 20px;
    transition: all 0.3s ease-in-out;
    
}

.cta-button:hover {
    background: #ffa500;
    transform: scale(1.05);
}

/* Section Separation */
.section {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    
}
/* Right Sidebar */
.right-sidebar {
    width: 370px;
    background: white;
    padding: 20px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    position: sticky;
    top: 20px;
}

/* Testimonials Section */
.testimonials {
    overflow: hidden;
    white-space: nowrap;;
    position: relative;
    width: 100%;
    background: #2675bb;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(223, 11, 11, 0.1);
}

.testimonial-slider {
    display:flex;
    flex-direction: column;
    gap: 15px;
    animation: slideTestimonial 12s linear infinite;
}

.testimonial {
    font-style: italic;
    font-size: 0.9em;
    color: #333;
    background: #ffffff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
}

@keyframes slideTestimonial {
    0% { transform: translateX(0); }
    50% { transform: translateX(-50%); }
}

/* Contact Section */
.right-sidebar h3 {
    margin-top: 20px;
    font-size: 1.2em;
    text-transform: uppercase;
    border-bottom: 2px solid #a4ca0f;
    display: inline-block;
    padding-bottom: 5px;
}

.contact-box {
    background: #eef;
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
   
}

.contact-box p {
    margin: 5px 0;
    font-size: 1em;
}

/* Blog Section */
.right-sidebar ul {
    list-style: none;
    padding: 0;
}

.right-sidebar ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

.right-sidebar ul li img {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    object-fit: cover;
}

.right-sidebar ul li a {
    text-decoration: none;
    color: #0066cc;
    font-weight: bold;
    transition: color 0.3s;
    align-items: center;
}

.right-sidebar ul li a:hover {
    color: #ffcc00;
}

/* Skills Section */
.skills {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.skills p {
    font-size: 1em;
    font-weight: bold;
}

.skills progress {
    width: 100%;
    height: 10px;
    border-radius: 5px;
}

.skills progress::-webkit-progress-value {
    background: linear-gradient(to right, #0066cc, #003366);
    border-radius: 5px;
}

/* Footer */
footer {
    background: #003366;
    color: white;
    padding: 20px 0;
    text-align: center;
    width: 100vw;
    position: relative;
    left: 0;
}

/* Footer Container */
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Quick Links - Aligned Left */
.footer-links {
    flex: 1;
    min-width: 250px;
    text-align: left;
}

.footer-links h4 {
    font-size: 1.2em;
    margin-bottom: 10px;
    text-transform: uppercase;
    border-bottom: 2px solid #ffcc00;
    display: inline-block;
    padding-bottom: 5px;
}

.footer-links a {
    display: block;
    color: white;
    text-decoration: none;
    margin: 8px 0;
    transition: color 0.3s;
    font-size: 1em;
}

.footer-links a:hover {
    color: #ffcc00;
}

/* Footer Center (Copyright & Quote) */
.footer-center {
    flex: 1;
    text-align: center;
    min-width: 250px;
    padding: 10px;
}

.footer-quote {
    font-style: italic;
    font-size: 1em;
    margin: 15px 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    max-width: 400px;
    margin: 15px auto;
}

/* Contact Info - Aligned Right */
.footer-contact {
    flex: 1;
    min-width: 250px;
    text-align: right;
}

.footer-contact h4 {
    font-size: 1.2em;
    margin-bottom: 10px;
    text-transform: uppercase;
    border-bottom: 2px solid #ffcc00;
    display: inline-block;
    padding-bottom: 5px;
}

/* Follow Section (Social Media Icons) */
.footer-follow {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.footer-follow a {
    text-decoration: none;
    color: white;
    background: #0066cc;
    padding: 10px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 1.2em;
    transition: transform 0.3s, background 0.3s;
}

.footer-follow a:hover {
    transform: scale(1.1);
    background: #ffcc00;
}

/* Footer Bottom (Copyright Section) */
.footer-bottom {
    margin-top: 20px;
    font-size: 0.9em;
    padding: 10px;
    background: #002244;
    text-align: center;
    width: 100%;
}
/* General page structure */
.content-wrapper {
    display: flex; /* Use flexbox for alignment */
    justify-content: space-between; /* Space out the main content and aside */
    gap: 20px; /* Adds space between the main content and aside */
    flex-wrap: wrap; /* Ensure responsive behavior on smaller screens */
    margin: 0 auto;
    max-width: 1200px; /* Optional: restrict the width of the container */
    padding: 20px; /* Adds some padding around the content */
}

/* Main Content */
.main-content {
    flex: 2; /* Makes main content take up 2/3 of the space */
    background-color: white;
    padding: 20px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow */
    border-radius: 8px; /* Rounded corners for a soft look */
    width: 100%; /* Ensures it fills the available space */
}

/* Aside Content */
.aside-content {
    flex: 1; /* Makes aside content take up 1/3 of the space */
    background-color: #f9f9f9;
    padding: 20px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    border-radius: 8px; /* Rounded corners */
    width: 100%; /* Ensures it fills the available space */
}

/* Make the layout responsive */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column; /* Stack the main and aside content vertically on smaller screens */
        gap: 10px;
    }

    .main-content,
    .aside-content {
        flex: 1; /* Allow both sections to take equal space when stacked */
        width: 100%;
    }
    
    
}


/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form label {
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 10px;
}

.contact-form button {
    background: #0073e6;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

.contact-form button:hover {
    background: #005bb5;
}
