/* Resetting default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and font styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* Container for content */
.container {
    width: 80%;
    margin: 0 auto;
}

/* Resume container with two-column layout */
.resume-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Main content area */
.main-content {
    flex: 7;
    padding: 40px;
}

/* Sidebar for skills and certifications */
.sidebar {
    flex: 3;
    background-color: #0a3d62;
    color: #fff;
    padding: 40px 30px;
}

/* Profile Section */
.profile {
    margin-bottom: 40px;
}

.profile h1 {
    font-size: 2.5em;
    color: #0a3d62;
    margin-bottom: 5px;
}

.profile .title {
    font-size: 1.3em;
    color: #555;
    margin-bottom: 5px;
}

.profile .linkedin {
    margin-bottom: 20px;
}

.profile .linkedin a {
    color: #0a3d62;
    text-decoration: none;
}

.profile .linkedin a:hover {
    text-decoration: underline;
}

.profile-content p {
    margin-bottom: 15px;
}

/* Experience Section */
.experience h2 {
    color: #0a3d62;
    border-bottom: 2px solid #0a3d62;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.job {
    margin-bottom: 30px;
}

.job h3 {
    color: #0a3d62;
    margin-bottom: 5px;
}

.job p {
    margin-bottom: 10px;
}

.job ul {
    list-style: disc;
    margin-left: 20px;
}

.job li {
    margin-bottom: 10px;
}

/* Skills Section */
.skills h2, .certifications h2 {
    border-bottom: 2px solid #fff;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.skill-group {
    margin-bottom: 20px;
}

.skill-group h3 {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #7ed6df;
}

.skills ul, .certifications ul {
    list-style: none;
}

.skills li, .certifications li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.skills li:before, .certifications li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #7ed6df;
}

/* Certifications Section */
.certifications {
    margin-top: 40px;
}

/* Footer Section */
footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: 0;
}

/* Custom styles for the counter section */
.counter-section {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    margin-top: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.counter-section p {
    font-size: 0.875rem;
    color: #4b5563;
    margin-bottom: 0.5rem;
}

#counterDisplay {
    font-size: 2.5rem;
    font-weight: bold;
    color: #0a3d62;
    margin-bottom: 1rem;
}

#messageBox {
    margin-top: 0.75rem;
    padding: 0.6rem;
    border-radius: 0.4rem;
    font-size: 0.8rem;
    display: none;
    border-width: 1px;
}

/* Message Box Colors */
#messageBox.info {
    background-color: #dbeafe;
    color: #1e40af;
    border-color: #bfdbfe;
}

#messageBox.success {
    background-color: #d1fae5;
    color: #065f46;
    border-color: #a7f3d0;
}

#messageBox.error {
    background-color: #fee2e2;
    color: #b91c1c;
    border-color: #fca5a5;
}

#messageBox.warning {
    background-color: #fff3cd;
    color: #856404;
    border-color: #ffeeba;
}

.loading-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #3b82f6;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive design */
@media (max-width: 900px) {
    .resume-container {
        flex-direction: column;
    }
    
    .sidebar {
        order: -1;
    }
    
    .main-content, .sidebar {
        padding: 30px;
    }
}