/* responsive.css - Unified responsive styles for Denis Henin's portfolio website */

/* ======= GLOBAL RESPONSIVE STYLES ======= */

/* Base Breakpoints
   - Large Desktop: 1920px+
   - Desktop: 1600px
   - Small Desktop: 1200px
   - Laptop: 992px
   - Tablet: 768px
   - Mobile: 576px
   - Small Mobile: 375px
*/

/* ======= LOADER OVERLAY ======= */
#loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-text {
    margin-top: 2rem;
    font-size: 1.6rem;
    color: var(--color-white);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* ======= MOBILE MENU ENHANCEMENTS ======= */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 101;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(10, 10, 10, 0.98);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 3rem;
    right: 3rem;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 101;
}

.mobile-menu-close span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    position: absolute;
    top: 50%;
    left: 0;
    transition: transform 0.3s ease;
}

.mobile-menu-close span:first-child {
    transform: rotate(45deg);
}

.mobile-menu-close span:last-child {
    transform: rotate(-45deg);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 2rem;
}

.mobile-menu-content a {
    font-size: 3.2rem;
    font-weight: 600;
    color: var(--color-white);
    margin: 1.5rem 0;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-menu-content a:hover {
    color: var(--color-accent);
    transform: translateX(5px);
}

.mobile-contact {
    margin-top: 3rem;
}

.mobile-contact .btn {
    font-size: 2rem;
    padding: 1.2rem 3rem;
}


/* ======= RESPONSIVE BREAKPOINTS ======= */

/* Large Screens Optimization */
@media (min-width: 1921px) {
    html {
        font-size: 70%;
    }
    
    .container, 
    .container-about-me, 
    .container-MyProcess {
        max-width: 1800px;
    }
    
    .hero-title {
        font-size: 42rem;
    }
    
    .hero-image {
        margin-top: 40rem;
        max-width: 110rem;
    }
}

/* Desktop Adjustments (1600px and below) */
@media (max-width: 1600px) {
    html {
        font-size: 58%;
    }
    
    .hero-title {
        font-size: 32rem;
    }
    
    .hero-subtitle {
        max-width: 75%;
    }
    
    .hero-image {
        margin-top: -10rem;
        max-width: 100rem;
    }

    .scroll-indicator {
        padding-left: 45rem;
    }
    
    .about-hero-title {
        font-size: 7rem;
    }
    
    .services-hero-title,
    .projects-cta-title,
    .services-cta-title {
        font-size: 7rem;
    }
    
    .featured-card .project-image {
        height: 350px;
    }
}

/* Small Desktop Adjustments (1200px and below) */
@media (max-width: 1200px) {
    html {
        font-size: 56%;
    }
    
    .hero-title {
        font-size: 24rem;
    }
    
    .hero-subtitle {
        max-width: 90%;
    }
    
    .hero-image {
        margin-top: 25rem;
        max-width: 90rem;
        margin-left: 5rem;
    }

    .scroll-indicator {
        padding-left: 18rem;
    }
    
    /* About page */
    .section-about-me {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .about-content .section-label,
    .about-content .section-title {
        align-self: center;
    }
    
    .about-text {
        margin: 0 auto;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .profile-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .skills-overview {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline-item {
        flex-direction: column;
        margin-bottom: 6rem;
    }
    
    .timeline-marker {
        left: 0;
        transform: none;
        position: relative;
        margin-bottom: 2rem;
    }
    
    .timeline-content {
        width: 100%;
        margin-left: 0;
        padding: 0;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        margin-right: 0;
        text-align: left;
    }
    
    .timeline-item:nth-child(even) .timeline-point {
        flex-direction: row;
    }
    
    .timeline-track {
        display: none;
    }
    
    .timeline-columns {
        gap: var(--spacing-md);
    }
    
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Projects page */
    .page-title {
        font-size: 7rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 3rem;
    }
    
    /* Services page */
    .services-cards {
        gap: 2rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Homepage */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .services-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title, 
    .section-title-home {
        font-size: 8rem;
    }
    
    .communities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Laptop/Tablet Landscape Adjustments (992px and below) */
@media (max-width: 992px) {
    html {
        font-size: 54%;
    }
    
    .section-padding {
        padding: 15rem 0;
    }
    
    /* Header & Navigation */
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex; /* Show burger menu on tablet and below */
    }
    
    .contact-button {
        display: none;
    }
    
    /* Hero Section */
    .hero {
        padding-top: 12rem;
        padding-bottom: 16rem;
    }
    
    .hero-title {
        font-size: 18rem;
    }
    
    .hero-subtitle {
        max-width: 95%;
        margin-top: 0rem;
        padding-top: 15rem;
    }
    
    .hero-image {
        margin-top: 25rem;
        max-width: 70rem;
        margin-left: 5rem;
    }
    
    .scroll-indicator {
        padding-top: 3rem;
        padding-left: 12rem;
    }
    
    /* Homepage Sections */
    .section-title, 
    .section-title-home {
        font-size: 6rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .project-image {
        height: 40rem;
    }
    
    .container-MyProcess {
        flex-direction: column;
    }
    
    .process-wrapper {
        margin-bottom: var(--spacing-lg);
    }
    
    .services-cards {
        grid-template-columns: 1fr;
    }
    
    /* About Page */
    .about-hero-title {
        font-size: 5.5rem;
    }
    
    .profile-content {
        grid-template-columns: 1fr;
    }
    
    .skills-overview {
        grid-template-columns: 1fr;
    }
    
    .timeline-columns {
        grid-template-columns: 1fr;
    }
    
    .certification-filters {
        flex-wrap: wrap;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .document-generation-container {
        grid-template-columns: 1fr;
    }
    
    .document-card {
        height: auto;
    }
    
    .job-buttons-container,
    .language-buttons {
        justify-content: center;
    }
    
    /* Projects Page */
    .page-title {
        font-size: 6rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .cta-content h2 {
        font-size: 4.2rem;
    }
    
    .page-hero {
        min-height: 60vh;
        padding: 14rem 0 8rem;
    }
    
    .contact-cta {
        padding: 8rem 0;
    }
    
    /* Services Page */
    .services-hero-title {
        font-size: 6rem;
    }
    
    .services-hero-description {
        font-size: 2rem;
    }
    
    .services-cards {
        grid-template-columns: 1fr;
    }
    
    .services-cta-title {
        font-size: 4.8rem;
    }
    
    .services-cta-description {
        font-size: 1.8rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: 1 / 3;
    }
}

/* Tablet Adjustments (768px and below) */
@media (max-width: 768px) {
    html {
        font-size: 52%;
    }
    
    .section-padding {
        padding: 10rem 0;
    }
    
    /* Hero Section */
    .hero {
        padding-top: 10rem;
        padding-bottom: 20rem;
        align-items: flex-start;
    }
    
    .hero-title {
        font-size: 12rem;
        line-height: 0.9;
    }
    
    .hero-subtitle {
        margin-top: 4rem;
        font-size: 1.8rem;
    }
    
    .hero-image {
        margin-top: 5rem;
        max-width: 60rem;
    }
    
    .registered-hero {
        font-size: 6rem;
        top: -1rem;
    }
    
    .status-indicator {
        align-self: center;
        margin-bottom: 3rem;
    }
    
    .scroll-indicator {
        bottom: 4rem;
        right: 2rem;
        left: auto;
        transform: none;
    }
    
    /* Other Homepage Elements */
    .section-title, 
    .section-title-home {
        font-size: 5rem;
    }
    
    .section-label, 
    .section-label-home {
        font-size: 1.6rem;
    }
    
    .project-image {
        height: 30rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        height: auto;
        min-height: 28rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: var(--spacing-md) var(--spacing-sm);
    }
    
    .about-image {
        height: 400px;
        width: 320px;
    }
    
    .about-content .section-title {
        font-size: 4.5rem;
    }
    
    /* About Page */
    .about-hero {
        padding: 18rem 0 8rem;
    }
    
    .about-hero-title {
        font-size: 4.5rem;
    }
    
    .about-hero-subtitle {
        font-size: 1.8rem;
    }
    
    .about-hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .about-hero-text {
        max-width: 100%;
    }
    
    .about-hero-cta {
        justify-content: center;
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .btn-accent, 
    .btn-outline {
        width: 100%;
    }
    
    .timeline::before {
        left: 8px;
    }
    
    .timeline-marker {
        left: 0;
    }
    
    .timeline-item {
        padding-left: var(--spacing-lg);
    }
    
    .job-header {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .job-duration {
        align-self: flex-start;
    }
    
    .community-card {
        height: 320px;
    }
    
    /* Projects Page */
    .page-title {
        font-size: 4.5rem;
    }
    
    .page-subtitle {
        font-size: 1.8rem;
    }
    
    .featured-card {
        grid-column: span 1;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-cta-content {
        padding: 4rem 2rem;
    }
    
    .projects-cta-title {
        font-size: 3.6rem;
    }
    
    .projects-cta-actions {
        flex-direction: column;
    }
    
    .projects-btn {
        width: 100%;
    }
    
    .filter-btn {
        padding: 0 1.5rem;
        font-size: 1.4rem;
    }
    
    .filter-icon {
        width: 20px;
        height: 20px;
    }
    
    .filter-btn {
        height: 44px;
    }
    
    .cta-actions {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .btn {
        width: 100%;
    }
    
    /* Services Page */
    .services-hero {
        padding: 12rem 0 8rem;
    }
    
    .services-hero-title {
        font-size: 4.5rem;
    }
    
    .services-hero-description {
        font-size: 1.8rem;
    }
    
    .services-hero-actions {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-outline-hero {
        width: 100%;
    }
    
    .services-cta-content {
        padding: 4rem 2rem;
    }
    
    .services-cta-title {
        font-size: 3.6rem;
    }
    
    .services-cta-actions {
        flex-direction: column;
    }
    
    .services-btn {
        width: 100%;
    }
    
    /* Contact Section */
    .contact-methods {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .contact-value {
        font-size: 1.6rem;
    }
    
    .form {
        grid-template-columns: 1fr;
    }
    
    .form-group:nth-child(3),
    .form-group:nth-child(4),
    .btn-submit {
        grid-column: span 1;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-nav {
        margin-bottom: var(--spacing-sm);
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: auto;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .back-to-top {
        width: 48px;
        height: 48px;
        bottom: 2rem;
        right: 2rem;
    }
    
    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
    
    /* Contact Form Responsive Styling */
    .contact-form {
        padding: var(--spacing-md);
        margin-top: var(--spacing-lg);
    }
    
    .form {
        grid-template-columns: 1fr; /* Change to single column layout */
        gap: var(--spacing-sm);
    }
    
    .form-group {
        margin-bottom: var(--spacing-sm);
    }
    
    /* Make all form elements take full width */
    .form-group:nth-child(1),
    .form-group:nth-child(2),
    .form-group:nth-child(3),
    .form-group:nth-child(4),
    .btn-submit {
        grid-column: 1; /* Force single column */
    }
    
    .contact-methods {
        flex-direction: column; /* Stack contact methods */
        gap: var(--spacing-md);
        margin-bottom: var(--spacing-lg);
    }
    
    .contact-method {
        width: 100%; /* Full width contact method blocks */
        min-width: 0; /* Remove fixed width constraint */
    }
    
    /* Communities grid */
    .communities-grid {
        grid-template-columns: 1fr; /* Change to 1 column on tablets */
        gap: var(--spacing-md);
    }
    
    .community-card {
        height: auto;
        min-height: 280px; /* Set a sensible minimum height */
    }
}

/* Mobile Adjustments (576px and below) */
@media (max-width: 576px) {
    html {
        font-size: 50%;
    }
    
    .section-padding {
        padding: 8rem 0;
    }
    
    /* Hero Section */
    .hero {
        padding-top: 20rem;
        padding-bottom: 10rem;
        min-height: 100vh;
    }
    
    .hero-title {
        font-size: 7rem; /* Further reduce size */
        line-height: 1; /* Adjust line height */
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
        margin-top: 3rem;
        line-height: 1.4;
        max-width: 90%;
        padding-right: 0rem;
        padding-top: 40rem;
        text-align: center;
    }
        
    .scroll-indicator {
        /* padding-top: 3rem;
        padding-left: 12rem; */
    }
    
    .hero-image {
        margin-top: 3rem;
        max-width: 300px;
        margin-left: 5rem;
    }
    
    .status-text {
        font-size: 1.6rem;
    }
    
    .registered-hero {
        font-size: 3.5rem;
    }
    
    /* Improve status indicator */
    .status-indicator {
        padding: 0.6rem 1.2rem;
        margin-bottom: 2rem;
    }
    
    /* Better scroll indicator positioning */
    .scroll-indicator {
        top: 5rem;
        bottom: 0rem;
        right: 0rem;
        padding-top: 0rem;
        padding-left: 0rem;
        position: relative;
    }
    
    .section-title, 
    .section-title-home {
        font-size: 4rem;
    }
    
    .hero-badge {
        padding: 0.6rem 1.2rem;
    }
    
    .badge-text {
        font-size: 1.2rem;
    }
    
    /* Projects Page */
    .project-filters {
        top: 70px;
        padding: 1.5rem 0;
    }
    
    .project-card {
        min-height: auto;
    }
    
    .project-image, 
    .featured-card .project-image {
        height: 220px;
    }
    
    .cta-content h2 {
        font-size: 3rem;
    }
    
    /* Services Page */
    .services-hero-title {
        font-size: 3.6rem;
    }
    
    .services-hero-badge {
        padding: 0.6rem 1.2rem;
    }
    
    .services-cta-badge {
        font-size: 1.4rem;
    }
    
    .services-cta-title {
        font-size: 3rem;
    }
    
    .faq-question h3 {
        font-size: 1.8rem;
    }
    
    /* About Page */
    .about-hero-title {
        font-size: 3.6rem;
    }
    
    .about-hero-subtitle {
        font-size: 1.6rem;
    }
    
    .resume-section-title {
        font-size: 2.4rem;
    }
    
    .filter-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1.4rem;
    }
    
    .btn-download {
        width: 100%;
    }
    
    .job-btn,
    .lang-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1.4rem;
    }
    
    /* Contact Form */
    .contact-form {
        padding: var(--spacing-sm);
        margin-top: var(--spacing-lg);
        min-width: 40rem;
    }
    
    .contact-form h3 {
        font-size: 2rem; /* Slightly smaller heading */
    }
    
    .form input,
    .form textarea {
        padding: 1.2rem; /* Slightly smaller padding in inputs */
    }
    
    .form textarea {
        min-height: 120px; /* Smaller textarea */
    }
    
    .btn-submit {
        padding: 1rem; /* Smaller button padding */
    }
    
    /* Optimize contact info display */
    .contact-info {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .contact-label {
        font-size: 1.2rem; /* Smaller label text */
    }
    
    .contact-value {
        font-size: 1.6rem; /* Smaller content text */
    }
    
    /* Communities grid */
    .communities-grid {
        grid-template-columns: 1fr; /* Ensure 1 column on mobile */
        gap: var(--spacing-sm); /* Reduce spacing between cards on mobile */
    }
    
    .community-card {
        margin-bottom: var(--spacing-md); /* Add space between stacked cards */
    }
    
    /* Optimize card height for mobile */
    .community-card-front,
    .community-card-back {
        padding: var(--spacing-md); /* Reduce padding inside cards */
    }
    
    .community-card-front h3 {
        font-size: 2rem; /* Slightly reduce title size */
    }
    
    .community-stats {
        flex-direction: row; /* Keep stats side by side */
        justify-content: space-between;
    }
}

/* Small Mobile Devices (375px and below) */
@media (max-width: 375px) {
    .hero-title {
        font-size: 6rem;
    }
    
    .registered-hero {
        font-size: 3rem;
    }
    
    .hero {
        padding-bottom: 16rem;
        height: 95vh;
    }
    
    .hero-image {
        max-width: 250px;
        margin-left: 0rem;
    }
    
    /* Add a background to make the text more readable */
    .hero-content {
        position: relative;
    }
    
    .hero-text {
        padding-top: 1rem;
        border-radius: 8px;
        z-index: 5;
    }

    .hero-text p{
        padding-top: 30rem;
        border-radius: 8px;
        z-index: 5;
    }
    
    .section-title, 
    .section-title-home {
        font-size: 3.2rem;
    }
    
    .service-card {
        padding: var(--spacing-md);
    }
    
    .project-header {
        padding: var(--spacing-sm);
    }
    
    .project-link {
        font-size: 1.8rem;
    }
    
    .about-image {
        height: 300px;
        width: 240px;
    }
}

/* ======= PRINT STYLES ======= */
@media print {
    .header,
    .footer,
    .mobile-menu,
    .menu-toggle,
    .back-to-top,
    .contact-cta,
    .services-contact-cta,
    .projects-contact-cta {
        display: none !important;
    }
    
    body {
        background-color: #fff;
        color: #000;
    }
    
    .container,
    .container-about-me {
        width: 100%;
        margin: 0;
        padding: 1cm;
    }
    
    .section-padding {
        padding: 1cm 0;
    }
    
    a {
        text-decoration: none;
        color: #000;
    }
    
    /* Force background colors to print */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .services-hero-badge,
    .services-hero-title,
    .services-hero-description,
    .services-hero-actions,
    .hero-scroll-indicator,
    .scroll-arrow,
    .timeline-item,
    .decoration-element,
    .element-1,
    .element-2,
    .element-3,
    .faq-item {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}


/* ======= FOOTER STYLES - COMMON AND DIFFERENTIATED ======= */

/* Base footer styling common to all pages */
.footer {
    background-color: var(--color-black);
    padding: 4rem 0;
    color: var(--color-white);
}

/* Footer content container */
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    position: relative;
}

/* Copyright styling */
.footer-copyright {
    font-size: 1.4rem;
    color: var(--color-gray);
}

.footer-copyright p {
    margin: 0;
}

/* ======= SIMPLE FOOTER - INDEX.HTML ======= */
.footer-home .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-nav-simple {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.footer-nav-simple a {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--color-white);
    transition: color var(--transition-medium);
}

.footer-nav-simple a:hover {
    color: var(--color-accent);
}

/* ======= FULL FOOTER - PROJECTS.HTML ======= */
.footer-full {
    padding: 6rem 0 3rem;
}

.footer-full .footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 4rem;
    align-items: flex-start;
    margin-bottom: 4rem;
}

/* Brand section */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-white);
}

.footer-tagline {
    font-size: 1.4rem;
    color: var(--color-gray);
    max-width: 25rem;
    line-height: 1.5;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.footer-social .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all var(--transition-medium);
}

.footer-social .social-link svg {
    color: var(--color-white);
}

.footer-social .social-link:hover {
    background-color: var(--color-accent);
    transform: translateY(-3px);
}

.footer-social .social-link:hover svg {
    color: var(--color-black);
}

/* Navigation container */
.footer-nav-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.footer-heading {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 2rem;
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.8rem;
    width: 3rem;
    height: 2px;
    background-color: var(--color-accent);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li a {
    font-size: 1.5rem;
    color: var(--color-gray);
    transition: color var(--transition-medium), transform var(--transition-medium);
    display: inline-block;
}

.footer-links li a:hover {
    color: var(--color-white);
    transform: translateX(5px);
}

/* Contact section */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.contact-icon-projects {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.6rem;
    height: 3.6rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.contact-icon-projects img {
    width: 1.8rem;
    height: 1.8rem;
    filter: brightness(0) saturate(100%) invert(83%) sepia(31%) saturate(1096%) hue-rotate(51deg) brightness(104%) contrast(98%);
}

.contact-text,
.contact-link {
    font-size: 1.5rem;
    color: var(--color-gray);
}

.contact-link:hover {
    color: var(--color-accent);
}

/* Footer bottom section */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    font-size: 1.4rem;
    color: var(--color-gray);
    transition: color var(--transition-medium);
}

.footer-legal a:hover {
    color: var(--color-white);
}

/* Button styling for footer */
.btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 500;
    padding: 1rem 2rem;
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-full);
    cursor: pointer;
    transition: all var(--transition-medium);
}

.btn-outline-light:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-dark);
    transform: translateY(-3px);
}

/* ======= RESPONSIVE STYLES FOR ALL FOOTERS ======= */

/* Desktop (1600px and below) */
@media (max-width: 1600px) {
    .footer-full .footer-content {
        gap: 3rem;
    }
    
    .footer-nav-container {
        gap: 2rem;
    }
}

/* Small Desktop (1200px and below) */
@media (max-width: 1200px) {
    .footer-full .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-row: 1;
        grid-column: 1 / 2;
    }
    
    .footer-nav-container {
        grid-row: 1;
        grid-column: 2 / 3;
    }
    
    .footer-contact {
        grid-row: 2;
        grid-column: 1 / 3;
        margin-top: 2rem;
    }
}

/* Tablet Landscape (992px and below) */
@media (max-width: 992px) {
    .footer {
        padding: 5rem 0 3rem;
    }
    
    /* Simple footer responsive */
    .footer-home .footer-content,
    .footer-secondary .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-nav-simple {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Full footer responsive */
    .footer-full .footer-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .footer-brand {
        grid-row: 1;
        grid-column: 1;
        align-items: center;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-tagline {
        max-width: none;
    }
    
    .footer-nav-container {
        grid-row: 2;
        grid-column: 1;
        width: 100%;
    }
    
    .footer-contact {
        grid-row: 3;
        grid-column: 1;
        align-items: center;
        text-align: center;
    }
    
    .footer-heading {
        text-align: center;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        align-items: center;
    }
    
    .footer-links li a:hover {
        transform: translateY(-3px);
    }
    
    .contact-info {
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

/* Tablet Portrait (768px and below) */
@media (max-width: 768px) {
    .footer {
        padding: 4rem 0 2rem;
    }
    
    /* Simple footer responsive */
    .footer-nav-simple {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-nav-simple a {
        font-size: 1.8rem;
    }
    
    /* Full footer responsive */
    .footer-nav-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .footer-social .social-link {
        width: 4.5rem;
        height: 4.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Mobile (576px and below) */
@media (max-width: 576px) {
    .footer {
        padding: 3rem 0 2rem;
    }
    
    .footer-logo {
        font-size: 2.4rem;
    }
    
    .footer-tagline {
        font-size: 1.4rem;
    }
    
    .footer-heading {
        font-size: 1.6rem;
    }
    
    .footer-links li a {
        font-size: 1.4rem;
    }
    
    .contact-text,
    .contact-link {
        font-size: 1.4rem;
    }
    
    .footer-copyright,
    .footer-legal a {
        font-size: 1.2rem;
    }
    
    .btn-outline-light {
        width: 100%;
        max-width: 28rem;
    }
}

/* Small Mobile (375px and below) */
@media (max-width: 375px) {
    .footer-social {
        gap: 1rem;
    }
    
    .footer-social .social-link {
        width: 4rem;
        height: 4rem;
    }
    
    .footer-nav-simple a {
        font-size: 1.6rem;
    }
}