/* ========================
   CSS Reset & Base Styles
   ======================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* ========================
   Variables
   ======================== */
:root {
    --primary-color: #2563eb;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --background-primary: #ffffff;
    --background-secondary: #f8fafc;
    --border-color: #e2e8f0;
    --border-radius: 12px;
    --shadow-small: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-large: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --max-width: 1200px;
    --header-height: 70px;
}

/* ========================
   Typography
   ======================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* ========================
   Layout
   ======================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* ========================
   Header & Navigation
   ======================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    height: var(--header-height);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.navbar {
    height: 100%;
    display: flex;
    align-items: center;
}

.navbar .container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand .logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: var(--transition);
}

.nav-brand .logo:hover {
    transform: translateY(-2px);
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(37, 99, 235, 0.1);
}

.logo-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: -3px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 60%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
}

/* ========================
   Buttons
   ======================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ========================
   Cards
   ======================== */
.card {
    background: var(--background-primary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-small);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-large);
    transform: translateY(-5px);
}

/* ========================
   Footer
   ======================== */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
    color: white;
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-section {
    animation: fadeInUp 0.8s ease-out;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    background: linear-gradient(135deg, white, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    border-radius: 2px;
}

.footer-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    transition: all 0.3s ease;
}

.footer-subtitle::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.footer-section:hover .footer-subtitle::after {
    width: 30px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
    border-color: var(--primary-color);
}

.social-link i {
    position: relative;
    z-index: 1;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.social-link:hover i {
    color: white;
    transform: scale(1.1);
}

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

.footer-links li {
    transition: all 0.3s ease;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-radius: 6px;
    position: relative;
    text-decoration: none;
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--primary-color);
    font-weight: bold;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-links a:hover {
    color: white;
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.05);
    padding-left: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-info p:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateX(5px);
}

.contact-info i {
    color: var(--primary-color);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    font-size: 0.875rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-info p:hover i {
    background: var(--primary-color);
    color: white;
    transform: scale(1.2);
}

/* Phone Number Links */
a[href^="tel:"] {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
    padding: 2px 4px;
    display: inline-block;
    position: relative;
}

a[href^="tel:"]:hover {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    transform: translateY(-1px);
}

a[href^="tel:"]:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Footer phone link styling */
.footer a[href^="tel:"] {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.footer a[href^="tel:"]:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #60a5fa;
    transform: translateY(-1px);
}

/* Contact page phone link styling */
.contact-item a[href^="tel:"] {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-item a[href^="tel:"]:hover {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
}

/* Fix for contact item hover state */
.contact-item:hover a[href^="tel:"] {
    color: white;
}

.contact-item:hover a[href^="tel:"]:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

/* Email Links */
a[href^="mailto:"] {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
    padding: 2px 4px;
    display: inline-block;
    position: relative;
}

a[href^="mailto:"]:hover {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    transform: translateY(-1px);
}

a[href^="mailto:"]:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Footer email link styling */
.footer a[href^="mailto:"] {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.footer a[href^="mailto:"]:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #60a5fa;
    transform: translateY(-1px);
}

/* Contact page email link styling */
.contact-item a[href^="mailto:"] {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-item a[href^="mailto:"]:hover {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
}

/* Fix for contact item hover state */
.contact-item:hover a[href^="mailto:"] {
    color: white;
}

.contact-item:hover a[href^="mailto:"]:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    backdrop-filter: blur(10px);
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.footer-bottom .footer-heart {
    color: #ef4444;
    animation: heartbeat 2s ease-in-out infinite;
    display: inline-block;
    margin: 0 0.25rem;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
}

.back-to-top i {
    font-size: 1.125rem;
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-2px);
}

/* ========================
   Utility Classes
   ======================== */
.text-center {
    text-align: center;
}

.text-gradient {
    color: var(--primary-color);
    font-weight: 700;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* ========================
   Responsive Design
   ======================== */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-title {
        font-size: 1.75rem;
    }
    
    .footer-subtitle {
        font-size: 1.125rem;
    }
    
    .back-to-top {
        bottom: 25px;
        right: 25px;
        width: 45px;
        height: 45px;
    }
    
    .back-to-top i {
        font-size: 1rem;
    }
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-section:nth-child(1) {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .footer-section:nth-child(1) .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-section:nth-child(1) .social-links {
        justify-content: center;
    }
    
    .footer-title {
        font-size: 1.625rem;
    }
    
    .footer-subtitle {
        font-size: 1.05rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
        max-width: 600px;
        margin: 0 auto 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-medium);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu .nav-item {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .footer {
        padding: 3rem 0 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .footer-section:nth-child(1) {
        grid-column: auto;
        margin-bottom: 0;
    }
    
    .footer-section:nth-child(1) .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-section:hover .footer-subtitle::after {
        width: 30px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-title {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }
    
    .footer-subtitle {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .footer-description {
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
    }
    
    .social-links {
        justify-content: center;
        gap: 0.75rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link i {
        font-size: 1rem;
    }
    
    .footer-links {
        gap: 0.5rem;
    }
    
    .footer-links a {
        padding: 0.375rem 0;
        justify-content: center;
    }
    
    .footer-links a::before {
        display: none;
    }
    
    .footer-links a:hover {
        transform: none;
        padding-left: 0;
        background: rgba(255, 255, 255, 0.1);
        padding: 0.5rem 1rem;
        border-radius: 8px;
    }
    
    .contact-info {
        gap: 0.75rem;
    }
    
    .contact-info p {
        padding: 0.5rem;
        justify-content: center;
        text-align: center;
    }
    
    .contact-info p:hover {
        transform: none;
        background: rgba(255, 255, 255, 0.1);
    }
    
    .contact-info i {
        width: 18px;
        height: 18px;
        font-size: 0.75rem;
    }
    
    /* Mobile phone link styling */
    a[href^="tel:"] {
        padding: 4px 8px;
        border-radius: 6px;
        font-size: 0.9rem;
    }
    
    a[href^="tel:"]:hover {
        transform: none; /* Disable transform on mobile */
        background: rgba(37, 99, 235, 0.15);
    }
    
    .footer a[href^="tel:"] {
        font-size: 0.85rem;
    }
    
    /* Mobile email link styling */
    a[href^="mailto:"] {
        padding: 4px 8px;
        border-radius: 6px;
        font-size: 0.9rem;
    }
    
    a[href^="mailto:"]:hover {
        transform: none; /* Disable transform on mobile */
        background: rgba(37, 99, 235, 0.15);
    }
    
    .footer a[href^="mailto:"] {
        font-size: 0.85rem;
    }
    
    .footer-bottom {
        padding: 1.5rem 0;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
    
    .back-to-top i {
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) {
    .footer {
        padding: 2.5rem 0 0;
    }
    
    .footer-content {
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-title {
        font-size: 1.375rem;
        margin-bottom: 1rem;
    }
    
    .footer-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .footer-description {
        font-size: 0.8rem;
        margin-bottom: 1.25rem;
    }
    
    .social-links {
        gap: 0.5rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .social-link i {
        font-size: 0.9rem;
    }
    
    .footer-links {
        gap: 0.375rem;
    }
    
    .footer-links a {
        padding: 0.25rem 0;
        font-size: 0.875rem;
    }
    
    .footer-links a:hover {
        padding: 0.375rem 0.75rem;
    }
    
    .contact-info {
        gap: 0.5rem;
    }
    
    .contact-info p {
        padding: 0.375rem;
        font-size: 0.8rem;
        gap: 0.5rem;
    }
    
    .contact-info i {
        width: 16px;
        height: 16px;
        font-size: 0.7rem;
    }
    
    .footer-bottom {
        padding: 1.25rem 0;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
    
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
    }
    
    .back-to-top i {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    .section {
        padding: 2rem 0;
    }
    
    .footer {
        padding: 2rem 0 0;
    }
    
    .footer-content {
        gap: 1.25rem;
        margin-bottom: 1.25rem;
    }
    
    .footer-title {
        font-size: 1.25rem;
        margin-bottom: 0.875rem;
    }
    
    .footer-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.875rem;
    }
    
    .footer-description {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .social-links {
        gap: 0.375rem;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
    }
    
    .social-link i {
        font-size: 0.8rem;
    }
    
    .footer-links {
        gap: 0.25rem;
    }
    
    .footer-links a {
        padding: 0.125rem 0;
        font-size: 0.8rem;
    }
    
    .footer-links a:hover {
        padding: 0.25rem 0.5rem;
    }
    
    .contact-info {
        gap: 0.375rem;
    }
    
    .contact-info p {
        padding: 0.25rem;
        font-size: 0.75rem;
        gap: 0.375rem;
        flex-direction: column;
    }
    
    .contact-info i {
        width: 14px;
        height: 14px;
        font-size: 0.625rem;
    }
    
    .footer-bottom {
        padding: 1rem 0;
    }
    
    .footer-bottom p {
        font-size: 0.75rem;
    }
    
    .back-to-top {
        bottom: 12px;
        right: 12px;
        width: 30px;
        height: 30px;
    }
    
    .back-to-top i {
        font-size: 0.7rem;
    }
}

@media (max-width: 360px) {
    .footer {
        padding: 1.5rem 0 0;
    }
    
    .footer-content {
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-title {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-subtitle {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-description {
        font-size: 0.7rem;
        margin-bottom: 0.875rem;
    }
    
    .social-links {
        gap: 0.25rem;
    }
    
    .social-link {
        width: 28px;
        height: 28px;
    }
    
    .social-link i {
        font-size: 0.7rem;
    }
    
    .footer-links a {
        font-size: 0.75rem;
    }
    
    .contact-info p {
        font-size: 0.7rem;
        gap: 0.25rem;
    }
    
    .contact-info i {
        width: 12px;
        height: 12px;
        font-size: 0.5rem;
    }
    
    .footer-bottom {
        padding: 0.75rem 0;
    }
    
    .footer-bottom p {
        font-size: 0.7rem;
    }
    
    .back-to-top {
        bottom: 10px;
        right: 10px;
        width: 28px;
        height: 28px;
    }
    
    .back-to-top i {
        font-size: 0.65rem;
    }
} 