/* ==========================================================================
   TABLE OF CONTENTS
   1. Base & Reusable Components
   2. Button Styles
   3. Section-Specific Styles
      - General Section Layouts
      - Hero Section
      - Skills Section
      - Experience Section
      - Projects & Blog Cards
      - Newsletter CTA Section (NEW)
      - Contact Section
   4. On-Scroll Animations
   5. Responsive Adjustments
   ========================================================================== */


/* ==========================================================================
   1. Base & Reusable Components
   ========================================================================== */
.portfolio-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.cards-container {
    gap: 30px;
    /* Override base gap for home page */
}

.card-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

/* Home-specific section-title adjustments */
.section-title {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.section-title p {
    max-width: 800px;
}

/* Static cards - no hover movement but keep glow effect */
.contact-wrapper.card:hover,
.cta-container.card:hover {
    transform: none;
    box-shadow: 0 10px 25px var(--card-shadow);
    border-color: var(--card-border-hover);
}

/* ==========================================================================
   3. Section-Specific Styles
   ========================================================================== */

/* Home-specific portfolio header adjustments */
.portfolio-header {
    text-align: left;
    align-items: flex-start;
}


/* Hero Section */
.home-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.home-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 55%;
    z-index: 2;
}

.home-content p:first-of-type {
    font-weight: 500;
    color: var(--title-color);
}

.home-content p b {
    color: var(--title-color);
}

.home-content h1 {
    line-height: 1;
}

/* Inherits from base.css h1 */
.home-content h1 span {
    color: var(--accent-color);
    font-weight: 600;
}

.home-content h4 {
    font-weight: 400;
}

/* Inherits from base.css h4 */
.home-content h4 span {
    color: var(--accent-color);
    font-weight: 600;
}

/* Hero Actions Buttons */
.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: nowrap;
    align-items: center;
}

.hero-actions .filled-btn,
.hero-actions .outline-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Hero Bio Styling */
.hero-bio {
    margin-top: 15px;
    margin-bottom: 15px;
}

.hero-bio p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--paragraph-color);
    opacity: 0.9;
    max-width: 500px;
}

/* Hero Bio Text Styling */
.hero-bio p em {
    font-style: italic;
}

.hero-bio p b {
    font-weight: 600;
    color: var(--title-color);
}

.hero-bio p b span {
    color: var(--title-color);
    font-weight: 700;
}

#skill-text::after {
    content: '|';
    margin-left: 5px;
    color: var(--accent-color);
    animation: blink 0.7s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.home-hero-image {
    max-width: 45%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-hero-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--accent-color) 0%, rgba(0, 169, 255, 0.4) 30%, transparent 70%);
    filter: blur(60px);
    opacity: 0.4;
    z-index: 0;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: scale(0.95);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

/* Second glow layer for more intensity */
.home-hero-image::after {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 50%);
    filter: blur(40px);
    opacity: 0.3;
    z-index: 0;
    animation: pulse-glow-inner 3s ease-in-out infinite reverse;
}

@keyframes pulse-glow-inner {

    0%,
    100% {
        transform: scale(0.9);
        opacity: 0.2;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.4;
    }
}

/* Respect user's reduced-motion preference — disable GPU-heavy animations */
@media (prefers-reduced-motion: reduce) {

    .home-hero-image::before,
    .home-hero-image::after {
        animation: none;
        opacity: 0.15;
    }

    .cursor-blink {
        animation: none;
    }
}

.home-hero-image img {
    max-width: 80%;
    position: relative;
    z-index: 1;
    filter: saturate(1) brightness(1.1);
}

.hero-stat-card {
    width: fit-content;
    position: absolute;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: var(--radius-card, 6px);
    background-color: rgba(1, 4, 9, 0.6);
    backdrop-filter: blur(10px);
    z-index: 3;
}

.hero-stat-card .stat-icon {
    font-size: 20px;
    color: var(--accent-color);
    background-color: rgba(0, 169, 255, 0.1);
    padding: 10px;
    border-radius: var(--radius-sm, 4px);
}

.hero-stat-card .stat-text .stat-number {
    font-size: 20px;
    color: var(--title-color);
    font-family: var(--heading-font);
    line-height: 1;
}

.hero-stat-card .stat-text .stat-label {
    font-size: 13px;
    color: var(--paragraph-color);
}

/* Light theme stat cards */
[data-theme="light"] .hero-stat-card {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

/* Light theme stat icons */
[data-theme="light"] .hero-stat-card .stat-icon {
    background-color: rgba(0, 169, 255, 0.15);
}

.stat-1 {
    top: 30%;
    right: 0%;
}

.stat-2 {
    bottom: 0%;
    right: 25%;
}

.stat-3 {
    top: 45%;
    left: 0%;
}

/* Skills Section */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: var(--radius-card, 6px);
    border: 1px solid var(--card-border);
    width: 100%;
    transition: all 0.3s ease;
}

.skills-grid:hover {
    box-shadow: 0 10px 25px var(--card-shadow);
    border-color: var(--accent-color);
}

/* Each skill badge */
.skill-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 20px;
    background: rgba(0, 169, 255, 0.06);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm, 4px);
    min-width: 90px;
    transition: all 0.25s ease;
    cursor: default;
}

.skill-badge-item:hover {
    background: rgba(0, 169, 255, 0.14);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 169, 255, 0.15);
}

.skill-badge-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.skill-badge-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.skill-badge-icon i {
    font-size: 32px;
    color: var(--accent-color);
}

.skill-badge-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
    line-height: 1.3;
    white-space: nowrap;
}

/* Light theme */
[data-theme="light"] .skill-badge-item {
    background: rgba(0, 169, 255, 0.07);
}

[data-theme="light"] .skill-badge-item:hover {
    background: rgba(0, 169, 255, 0.15);
}

.tech-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 169, 255, 0.08);
    color: var(--text-color);
    padding: 4px 10px;
    border-radius: var(--radius-tag, 4px);
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-tag i {
    font-size: 12px;
    color: var(--accent-color);
}


/* Experience Section */
.experience-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.exp-card {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 25px;
    padding: 25px;
    transition: all 0.3s ease;
    color: inherit;
    text-decoration: none;
}

.exp-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 8px 25px rgba(0, 169, 255, 0.15);
}

.exp-img {
    flex-shrink: 0;
}

.exp-img img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm, 4px);
    border: 2px solid var(--card-border);
}

.exp-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.exp-header h3 {
    color: var(--title-color);
    font-size: 20px;
    line-height: 1.2;
}

.exp-header span {
    font-size: 13px;
    color: var(--paragraph-color);
    font-family: var(--code-font);
    background-color: var(--card-bg);
    padding: 4px 8px;
    border-radius: var(--radius-sm, 4px);
    border: 1px solid var(--card-border);
}

/* Projects & Blog Cards */
.project-card,
.blog-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
}

/* Blog Images */
.blog-image {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-card, 6px);
}

.blog-image img {
    border-radius: var(--radius-card, 6px);
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Removed hover transform for simplified styling */
.project-content,
.blog-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-grow: 1;
}

.blog-content h4,
.project-content h3 {
    font-size: 22px;
    color: var(--title-color);
    line-height: 1.2;
}

.blog-content h4 a,
.project-content h3 a {
    color: inherit;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.project-links {
    margin-top: auto;
    padding-top: 10px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.blog-card {
    cursor: pointer;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--card-border);
}

.publisher {
    display: flex;
    align-items: center;
    gap: 10px;
}

.publisher img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.blog-date {
    font-size: 14px;
    color: var(--paragraph-color);
}

/* NEW: Newsletter CTA Section */
.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 40px;
}

.cta-left-content {
    max-width: 40%;
    width: 100%;
}

.cta-left-content i {
    font-size: 40px;
    color: var(--accent-color);
}

.cta-left-content h2 {
    font-size: 36px;
}

/* Inherits from base.css h2 */
.cta-left-content h2 span {
    color: var(--accent-color);
}

.cta-right-content {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.cta-form {
    display: flex;
    gap: 10px;
    width: 100%;
}

.cta-form input {
    width: 100%;
    padding: 12px 15px;
    border-radius: var(--radius-input, 4px);
    border: 1px solid var(--card-border);
    background-color: var(--card-bg);
    color: var(--title-color);
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cta-form input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(0, 169, 255, 0.2);
}

.cta-form input::placeholder {
    color: var(--paragraph-color);
    opacity: 0.8;
}

.cta-form .filled-btn {
    flex-shrink: 0;
}

.newsletter-messages .message {
    padding: 10px 15px;
    border-radius: var(--radius-sm, 4px);
    margin-bottom: 15px;
    font-weight: 500;
}

.newsletter-messages .success {
    background-color: rgba(0, 169, 255, 0.1);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.newsletter-messages .error {
    background-color: rgba(255, 82, 82, 0.1);
    border: 1px solid #ff5252;
    color: #ff5252;
}

.newsletter-messages .info {
    background-color: rgba(255, 180, 0, 0.1);
    border: 1px solid #ffb400;
    color: #ffb400;
}

/* Contact Section */
.contact-wrapper {
    padding: 0;
    overflow: hidden;
    margin: 0 20px;
    border-radius: var(--radius-card, 6px);
}

.contact-section .mail-contact-card {
    display: grid;
    grid-template-columns: 40% 1fr;
}

.left-contact-info {
    background-color: var(--bg-gradient-start);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.left-contact-info::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: rgba(0, 169, 255, 0.05);
    border-radius: 50%;
    bottom: -80px;
    right: -60px;
    z-index: -1;
}

.left-contact-info h3 {
    font-family: var(--special-heading-font);
    font-size: 28px;
    color: var(--title-color);
}

.left-contact-info p {
    line-height: 1.7;
}

.contact-details-list {
    list-style: none;
    padding: 0;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-details-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 15px;
}

.contact-details-list i {
    color: var(--accent-color);
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.right-contact-form {
    padding: 40px;
}

.right-contact-form form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-group-row {
    display: flex;
    gap: 30px;
}

.form-group {
    flex-grow: 1;
    width: 100%;
}

.right-contact-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
}

.right-contact-form input,
.right-contact-form textarea {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-input, 4px);
    padding: 12px 16px;
    font-size: 15px;
    color: var(--title-color);
    transition: border-color 0.3s ease;
}

.right-contact-form textarea {
    resize: vertical;
}

.right-contact-form input:focus,
.right-contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* Urgent Toggle Styles */
.urgent-toggle-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--card-border);
}

.urgent-toggle-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--card-border);
    transition: 0.3s;
    border-radius: 12px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked+.toggle-slider {
    background-color: #ff6b35;
}

input:checked+.toggle-slider:before {
    transform: translateX(26px);
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.toggle-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--title-color);
}

.urgent-icon {
    color: #ff6b35;
    font-size: 16px;
}

.urgent-warning {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: var(--radius-sm, 4px);
    padding: 8px 12px;
    display: none;
    flex: 1;
    min-width: 100%;
    margin-bottom: 8px;
}

.urgent-warning.show {
    display: block;
}

.urgent-warning p {
    margin: 0;
    font-size: 12px;
    color: #ff6b35;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.4;
}

.urgent-warning i {
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 12px;
}

/* ==========================================================================
   4. On-Scroll Animations
   ========================================================================== */


/* ==========================================================================
   5. Responsive Adjustments
   ========================================================================== */
@media (max-width: 1000px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .skills-grid {
        gap: 12px;
    }
}

@media (max-width: 900px) {
    .home-container {
        flex-direction: column;
        text-align: center;
    }

    .home-content {
        max-width: 100%;
        align-items: center;
        order: 2;
    }

    .home-hero-image {
        order: 1;
        max-width: 60%;
        margin-bottom: 20px;
    }

    .portfolio-header {
        align-items: center;
        text-align: center;
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
    }

    .cta-left-content {
        max-width: 100%;
    }

    .cta-right-content {
        justify-content: center;
        width: 100% !important;
        align-self: stretch;
    }

    .cta-form {
        width: 100%;
    }

    .contact-section .mail-contact-card {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        margin: 0 15px;
    }

    /* Reduce margin on tablet */
    .left-contact-info {
        border-radius: var(--radius-card, 6px) var(--radius-card, 6px) 0 0;
    }

    .right-contact-form {
        border-radius: 0 0 var(--radius-card, 6px) var(--radius-card, 6px);
    }
}

@media (max-width: 768px) {
    .main-container {
        gap: 60px;
    }

    /* Reduced spacing */
    .cards-container {
        grid-template-columns: 1fr;
    }

    .home-hero-image {
        max-width: 80%;
    }

    .stat-1 {
        top: 30%;
        right: -5%;
    }

    .stat-2 {
        bottom: -5%;
        right: 15%;
    }

    .stat-3 {
        top: 40%;
        left: 5%;
    }
}

@media (max-width: 600px) {
    .hero-section {
        margin-top: 60px;
    }

    /* Reduced top margin */
    .main-container {
        gap: 40px;
    }

    /* Reduced gap significantly */
    .section-title {
        margin-bottom: 15px;
    }

    .home-content {
        gap: 10px;
    }

    /* Reduce gap between content elements */

    /* Hero Bio Responsive */
    .hero-bio {
        margin-top: 8px;
        margin-bottom: 8px;
    }

    /* Reduce bio margins */
    .hero-bio p {
        font-size: 15px;
        max-width: 100%;
        text-align: center;
    }

    /* Hero Actions - Side by side full width */
    .hero-actions {
        display: flex;
        justify-content: center;
        gap: 10px;
        flex-wrap: nowrap;
        width: 100%;
    }

    .hero-actions .filled-btn,
    .hero-actions .outline-btn {
        padding: 10px 14px;
        min-height: 42px;
        font-size: 14px;
        flex: 1;
        text-align: center;
        justify-content: center;
        border-radius: var(--radius-btn, 4px);
    }

    .home-hero-image {
        max-width: 340px;
        width: 100%;
        margin: 0 auto 20px;
        position: relative;
    }

    .hero-stat-card {
        padding: 6px 10px;
        gap: 8px;
        border-radius: var(--radius-card, 6px);
        background-color: rgba(1, 4, 9, 0.75);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    }

    .home-hero-image .card {
        padding: 8px;
    }

    .hero-stat-card .stat-icon {
        font-size: 15px;
        padding: 6px;
        border-radius: var(--radius-xs, 3px);
    }

    .hero-stat-card .stat-text .stat-number {
        font-size: 13px;
    }

    .hero-stat-card .stat-text .stat-label {
        font-size: 10px;
    }

    .stat-1 {
        top: 30%;
        right: 0%;
    }

    .stat-2 {
        bottom: 2%;
        right: 8%;
    }

    .stat-3 {
        top: 52%;
        left: 0%;
    }

    .skills-grid {
        gap: 8px;
        padding: 15px;
        border-radius: var(--radius-card, 6px);
    }

    .skill-badge-item {
        padding: 10px 12px;
        gap: 6px;
        min-width: 70px;
        border-radius: var(--radius-sm, 4px);
    }

    .skill-badge-icon {
        width: 36px;
        height: 36px;
    }

    .skill-badge-icon i {
        font-size: 22px;
    }

    .skill-badge-name {
        font-size: 11px;
    }

    .tech-tag {
        padding: 4px 8px;
        font-size: 11px;
        gap: 4px;
    }

    .tech-tag i {
        font-size: 10px;
    }

    .exp-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .exp-header {
        flex-direction: column;
        gap: 5px;
    }

    .exp-card .skills {
        justify-content: center;
    }

    .cta-form {
        flex-direction: column;
        width: 100% !important;
    }

    .cta-form input {
        width: 100% !important;
    }

    .cta-form .filled-btn {
        width: 100% !important;
        text-align: center;
    }

    /* CTA container h2 inherits from base.css responsive h2 styles */
    .form-group-row {
        flex-direction: column;
        gap: 20px;
    }

    .contact-wrapper {
        margin: 0 !important;
        width: 100%;
    }

    .left-contact-info,
    .right-contact-form {
        padding: 20px 16px;
    }

    .card,
    .cta-container {
        padding: 15px;
    }

    .contact-wrapper {
        padding: 0 !important;
    }

    .outline-btn[type="submit"], #contact-submit-btn {
        width: 100% !important;
        text-align: center;
        display: block;
        padding: 12px;
    }

    .form-group {
        width: 100% !important;
    }

    .right-contact-form input,
    .right-contact-form textarea {
        width: 100% !important;
    }

    .urgent-toggle-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .urgent-warning p {
        font-size: 12px;
    }
}

/* Small screen adjustments (400px down to 320px) */
@media (max-width: 400px) {
    .home-container {
        gap: 15px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .hero-actions .filled-btn,
    .hero-actions .outline-btn {
        width: 100% !important;
        padding: 10px 14px;
        font-size: 13px;
        box-sizing: border-box;
    }

    .home-hero-image {
        max-width: 300px;
        width: 100%;
        margin: 0 auto 15px;
    }

    .hero-stat-card {
        display: flex;
        padding: 4px 8px;
        gap: 6px;
        background-color: rgba(1, 4, 9, 0.85);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero-stat-card .stat-icon {
        font-size: 12px;
        padding: 4px;
    }

    .hero-stat-card .stat-text .stat-number {
        font-size: 12px;
    }

    .hero-stat-card .stat-text .stat-label {
        font-size: 9px;
    }

    .stat-1 {
        top: 28%;
        right: 0%;
    }

    .stat-2 {
        bottom: 0%;
        right: 6%;
    }

    .stat-3 {
        top: 54%;
        left: 0%;
    }

    .left-contact-info,
    .right-contact-form {
        padding: 16px 12px !important;
    }

    .left-contact-info h3 {
        font-size: 20px;
    }

    .left-contact-info p {
        font-size: 13px;
    }

    .contact-details-list {
        gap: 12px;
    }

    .contact-details-list li {
        font-size: 13px;
        gap: 8px;
        word-break: break-all;
        overflow-wrap: anywhere;
    }

    .contact-details-list li span,
    .contact-details-list li a {
        word-break: break-all;
        overflow-wrap: anywhere;
        font-size: 13px;
    }

    .skills-grid {
        justify-content: center;
        gap: 6px;
        padding: 10px 6px;
    }

    .skill-badge-item {
        min-width: 60px;
        max-width: 80px;
        padding: 8px 6px;
        flex: 1 1 60px;
    }

    .skill-badge-icon {
        width: 28px;
        height: 28px;
    }

    .skill-badge-icon i {
        font-size: 18px;
    }

    .skill-badge-name {
        font-size: 10px;
        white-space: normal;
        word-break: break-word;
    }

    .cta-container {
        padding: 16px 10px !important;
    }

    .cta-left-content h2 {
        font-size: 20px !important;
    }

    .cta-left-content p {
        font-size: 13px;
    }

    .exp-card {
        padding: 15px 12px;
    }
}

