@import url(../css/clash-display.css);
/* FONTS */
/* Moved from index.html inline styles */
.navbar {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-nav {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.navbar-brand {
    margin-right: 0;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    position: relative;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--c-brand);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-brand {
    background: linear-gradient(45deg, #000000, #333333);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-brand::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #333333, #000000);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.btn-brand:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-brand:hover::before {
    opacity: 1;
}

.btn-brand:active {
    transform: translateY(0);
}

@media (max-width: 991px) {
    .navbar-nav {
        margin: 15px 0;
        gap: 1rem;
    }
    .btn-brand {
        margin: 15px auto !important;
        display: block;
        width: fit-content;
    }
    .nav-link::after { display: none; }
}

.mega-menu { width: 100%; padding: 20px; background: white; box-shadow: 0 4px 6px rgba(0,0,0,0.1); position: absolute; left: 0; right: 0; top: 100%; display: none; z-index: 1000; }
.dropdown:hover .mega-menu { display: block; }
.mega-menu .container { max-width: 100%; }
.mega-menu h5 { color: #333; margin-bottom: 15px; font-weight: 600; font-size: 1.1rem; }
.mega-menu .dropdown-item { padding: 8px 0; color: #666; transition: all 0.3s ease; text-decoration: none; display: block; }
.mega-menu .dropdown-item:hover { color: #000; background: transparent; padding-left: 5px; }
.mega-menu .row { margin: 0; }
.mega-menu .col-md-4 { padding: 15px; }
.nav-item.dropdown { position: static; }
@media (max-width: 991px) {
    .mega-menu { position: static; box-shadow: none; padding: 10px; }
    .mega-menu .col-md-4 { padding: 10px 0; }
}

.contact-info-box { border-radius: 10px; transition: all 0.3s ease; }
.contact-info-box:hover { transform: translateY(-5px); }
.contact-info-box .iconbox { width: 45px; height: 45px; font-size: 20px; }
.contact-info-box .social-links a { width: 35px; height: 35px; display: inline-flex; align-items: center; justify-content: center; background: #f8f9fa; border-radius: 50%; color: #333; transition: all 0.3s ease; }
.contact-info-box .social-links a:hover { background: var(--c-brand); color: white; transform: translateY(-3px); }
#contact a { color: #212529 !important; text-decoration: none; }
#contact a:hover, #contact a:focus, #contact a:active { color: #000 !important; text-decoration: none; outline: none; box-shadow: none; }
section a, section a:visited { color: #212529 !important; text-decoration: none; }
section a:hover, section a:focus, section a:active { color: #000 !important; text-decoration: none; outline: none; box-shadow: none; }
body a, body a:visited { color: inherit !important; text-decoration: none; }
body a:hover, body a:focus, body a:active { color: inherit !important; text-decoration: none; outline: none; box-shadow: none; }
.form-control { border: 1px solid #e9ecef; padding: 12px 15px; border-radius: 8px; transition: all 0.3s ease; }
.form-control:focus { border-color: var(--c-brand); box-shadow: 0 0 0 0.2rem rgba(0,0,0,0.1); }
.form-label { font-weight: 500; color: #495057; margin-bottom: 8px; }
@media (max-width: 768px) { .contact-info-box { margin-bottom: 30px; } }

#counter { background: transparent; position: relative; }
.counter-container { max-width: 900px; margin: 0 auto; gap: 12px; }
.counter-item { text-align: center; padding: 18px 14px; background: linear-gradient(135deg, #2c3e50 0%, #4a5568 100%); border-radius: 10px; transition: all 0.3s ease; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.counter-item:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); background: linear-gradient(135deg, #34495e 0%, #4a5568 100%); }
.counter-number { font-size: 3.5rem; font-weight: 700; color: white; line-height: 1; margin-bottom: 15px; font-family: 'Open Sans', sans-serif; }
.counter-text { color: rgba(255,255,255,0.95); font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; }
@media (max-width: 768px) { .counter-container { max-width: 100%; padding: 0 20px; } .counter-item { margin-bottom: 10px; } .counter-number { font-size: 2.5rem; } }

.portfolio-item { position: relative; overflow: hidden; border-radius: 10px; margin-bottom: 30px; cursor: pointer; }
.image-zoom-wrapper { position: relative; overflow: hidden; aspect-ratio: 3/4; border-radius: 10px; }
.image-zoom-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); will-change: transform; }
.portfolio-item:hover .image-zoom-wrapper img { transform: scale(1.15); }
.portfolio-item .iconbox { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.8); width: 50px; height: 50px; background: rgba(255,255,255,0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #333; opacity: 0; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); z-index: 2; }
.portfolio-item:hover .iconbox { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.portfolio-item .iconbox:hover { background: var(--c-brand); color: white; transform: translate(-50%, -50%) scale(1.1); }
.portfolio-item::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.2); opacity: 0; transition: opacity 0.3s ease; border-radius: 10px; }
.portfolio-item:hover::after { opacity: 1; }

.verified-badge { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; background-color: #1877f2; border-radius: 50%; margin-left: 4px; vertical-align: middle; }
.verified-badge i { color: white; font-size: 10px; }

.scroll-to-top { position: fixed; bottom: 80px; right: 30px; width: 45px; height: 45px; background-color: #000000; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 999; box-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.scroll-to-top.show { opacity: 1; visibility: visible; }
.scroll-to-top:hover { background-color: #333333; transform: translateY(-3px); }
.scroll-to-top i { font-size: 20px; }

.footer-links { margin-top: 10px; text-align: center; }
.footer-links a { color: #fff; text-decoration: none; transition: color 0.3s ease; }
.footer-links a:hover { color: #1877f2; }
.footer-links .separator { margin: 0 10px; color: #666; }
.bottom { padding: 10px 0; text-align: center; background: #000; color: #fff; }
.copyright { margin-bottom: 10px; font-size: 1rem; display: block; }
.developed-by { margin-top: 8px; margin-bottom: 6px; font-size: 1rem; color: #fff; font-weight: 600; letter-spacing: 0.3px; display: block; padding-top: 6px; background: transparent; text-shadow: none; z-index: 20; position: relative; line-height: 1.2; }
@media (max-width: 600px) { .developed-by { font-size: 0.95rem; margin-top: 8px; margin-bottom: 6px; font-weight: 600; padding-top: 6px; } }

html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body { max-width: 100vw; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
.container, .row, .section-padding { width: 100%; max-width: 100%; box-sizing: border-box; }
.container { padding-left: 16px; padding-right: 16px; }

@media (max-width: 991px) {
    .navbar-nav { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .navbar-collapse { padding: 1.5rem 1rem 1rem 1rem; }
    .btn-brand { width: 100%; margin: 1rem 0 0 0 !important; }
    .container { padding-left: 10px; padding-right: 10px; }
}
.navbar-close { color: #333; cursor: pointer; outline: none; transition: all 0.3s ease; font-size: 2.5rem; margin: 0 auto 15px auto; display: none; background: rgba(255,255,255,0.9); border: none; line-height: 1; width: 50px; height: 50px; border-radius: 50%; box-shadow: 0 2px 8px rgba(0,0,0,0.1); align-items: center; justify-content: center; flex-shrink: 0; }
/* Show close button when menu is open on mobile */
@media (max-width: 991px) {
    .navbar-collapse.show .navbar-close {
        display: flex;
    }
}
.navbar-close:hover { color: #000; background: rgba(255,255,255,1); box-shadow: 0 4px 12px rgba(0,0,0,0.15); transform: scale(1.05); }
.navbar-close:active { transform: scale(0.95); }
@media (min-width: 992px) { .navbar-close { display: none !important; } }
@media (max-width: 600px) {
    .section-padding { padding: 24px 0 !important; }
    .container { padding-left: 8px; padding-right: 8px; }
    .row { margin-left: 0 !important; margin-right: 0 !important; }
    .navbar { padding: 8px 0; }
    .navbar-close { font-size: 2.2rem; margin: 0 auto 12px auto; width: 45px; height: 45px; }
    .footer-links { margin-top: 6px; }
    .portfolio-item { margin-bottom: 14px; }
    .counter-item { padding: 12px 4px; }
    .section-title h1, .display-4 { font-size: 2rem !important; }
    h1.display-1 { font-size: 2.2rem !important; }
    h5, .section-title p, .counter-text, .review p, .contact-info-box h4, .form-label { font-size: 1rem !important; }
    .btn, .btn-brand { font-size: 1rem !important; padding: 10px 18px !important; }
    .review { padding: 10px 4px !important; }
    .contact-info-box, .theme-shadow { padding: 10px 4px !important; }
    .footer-links a, .developed-by, .copyright { font-size: 0.95rem !important; }
    .form-control { font-size: 1rem !important; padding: 10px 10px !important; }
    .portfolio-item .iconbox { width: 38px; height: 38px; font-size: 1.1rem; }
    .counter-number { font-size: 2rem !important; }
    .navbar-nav { gap: 0.2rem; }
    .navbar-collapse { padding: 1rem 0.5rem 0.5rem 0.5rem; }
    .navbar-brand img { max-width: 48px !important; }
    .contact-info-box .iconbox { width: 32px; height: 32px; font-size: 1rem; }
    .questions-container .question button { font-size: 1rem !important; }

    /* Mobile performance: reduce heavy paints */
    .image-zoom:hover .image-zoom-wrapper img { transform: none; }
    .portfolio-item .iconbox { transition: none; }
    .portfolio-item:hover .iconbox { transform: translate(-50%, -50%) scale(1); }
    .theme-shadow, .counter-item { box-shadow: none; }
}

/* Respect reduced motion preferences */
@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; }
}
@media (max-width: 400px) {
    .section-title h1, .display-4 { font-size: 1.3rem !important; }
    h1.display-1 { font-size: 1.5rem !important; }
}
@media (max-width: 600px) { .scroll-to-top { width: 36px; height: 36px; bottom: 100px; right: 16px; font-size: 1.2rem; } }
@media (max-width: 600px) {
    html, body { overflow-x: hidden !important; }
    .container, .row, .section-padding { width: 100% !important; max-width: 100vw !important; padding-left: 2vw !important; padding-right: 2vw !important; margin-left: 0 !important; margin-right: 0 !important; }
    .row { flex-wrap: wrap; }
    [class^="col-"], [class*=" col-"] { width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; padding-left: 0 !important; padding-right: 0 !important; }
    .portfolio-item, .image-zoom-wrapper { width: 100% !important; max-width: 100vw !important; min-width: 0 !important; }
    .portfolio-item .iconbox { left: 50% !important; top: 50% !important; transform: translate(-50%, -50%) scale(0.9) !important; }
    .section-title h1, .display-4, h1.display-1 { font-size: 1.1rem !important; word-break: break-word; }
    h5, .section-title p, .counter-text, .review p, .contact-info-box h4, .form-label { font-size: 0.98rem !important; }
    .footer-links, .bottom, .developed-by { text-align: center !important; word-break: break-word; }
    .footer-links a, .developed-by, .copyright { font-size: 0.95rem !important; }
    .footer-links .separator { margin: 0 4px; }
    .media-icons { flex-wrap: wrap; gap: 6px; }
    .contact-info-box, .theme-shadow { padding: 8px 2px !important; }
    .form-control { font-size: 1rem !important; padding: 10px 10px !important; }
    .btn, .btn-brand { font-size: 1rem !important; padding: 14px 20px !important; min-height: 48px; }
    .navbar-brand img { max-width: 44px !important; }
    .navbar-close { font-size: 2rem; margin: 0 auto 10px auto; width: 40px; height: 40px; }
    .questions-container .question button { font-size: 1rem !important; }
    .footer-links, .bottom, .developed-by { display: block !important; width: 100% !important; margin-left: auto !important; margin-right: auto !important; }
}
* { max-width: 100vw; box-sizing: border-box; }
html, body { overflow-x: hidden !important; }

/* VARIABLES */
:root {
    --c-dark: #212529;
    
    --c-brand: #000000; /* Black */
    --c-brand-light: #808080; /* Gray */
    --c-brand-rgb: 78, 87, 212;
    --c-body: #727272;
    --font-base: "ClashDisplay", sans-serif;
    --box-shadow: 0px 15px 25px rgba(0,0,0,0.08);
    --transition: all 0.5s ease;
}

/* RESET & HELPERS */
body {
    font-family: var(--font-base);
    line-height: 1.7;
    color: var(--c-body);
}

h1, h2, h3,h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 600;
    color: var(--c-dark);
}

a {
    text-decoration: none;
    color: var(--c-brand);
    transition: var(--transition);
}

a:hover {
    color: var(--c-brand-light);
}

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

.section-padding {
    padding-top: 56px;
    padding-bottom: 56px;
}

/* Reduce gap when sections are consecutive */
.section-padding + .section-padding {
    padding-top: 36px;
}

@media (min-width: 992px) {
    .section-padding { padding-top: 72px; padding-bottom: 72px; }
    .section-padding + .section-padding { padding-top: 48px; }
}

.theme-shadow {
    box-shadow: var(--box-shadow);
}

/* IMAGE ZOOM */
.image-zoom {
    position: relative;
    /* overflow: hidden; */
}

.image-zoom-wrapper {
    overflow: hidden;
    position: relative;
}

.image-zoom-wrapper img{
     transition: var(--transition);
}

.image-zoom:hover .image-zoom-wrapper img {
    transform: scale(1.1);
}


/* NAVBAR */
.navbar {
    box-shadow: var(--box-shadow);
}

/* Ensure hamburger icon is visible */
.navbar-toggler { border: none; box-shadow: none !important; }
.navbar-toggler:focus { box-shadow: none !important; }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,0,0,0.85)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--c-dark);
}

.navbar-nav .nav-link.active {
    color: var(--c-brand);
}


/* BTN */
.btn {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 0;
    padding: 10px 24px;
}

.btn-brand {
    background-color: var(--c-brand);
    border-color: var(--c-brand);
    color: white;
}

.btn-brand:hover {
    background-color: var(--c-brand-light);
    border-color: var(--c-brand-light);
    color: white;
}


/* HERO */
#hero {
    background: url(../images/header2.webp) center/cover no-repeat;
    background-position: center;
    background-size: cover;
}


/* SECTION TITLE */
.section-title {
    margin-bottom: 28px;
}

.section-title .line {
    width: 60px;
    height: 4px;
    background-color: var(--c-brand);
    margin: 16px auto 24px auto;
}

.section-title p {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}


/* ICONBOX */
.iconbox {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--c-brand-rgb), 0.1);
    color: var(--c-brand);
    font-size: 34px;
    flex: none;
}

/* SERVICE */
.service {
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.service::after {
    content: "";
    width: 40px;
    height: 40px;
    background: rgba(var(--c-brand-rgb), 0.2);
    position: absolute;
    bottom: 0;
    right: 0;
    transition: var(--transition);
}


.service:hover::after {
    width: 100%;
    height: 100%;
    background: var(--c-brand);
    z-index: -1;
}

.service:hover h5,
.service:hover p {
    color: white;
}

.service:hover .iconbox {
    background-color: rgba(255,255,255,0.2);
    color: white;
}

/* COUNTER */
#counter {
    background: transparent;
}

/* PORTFOLIO */
.portfolio-item .iconbox {
    background-color: var(--c-brand);
    color: white;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.portfolio-item:hover .iconbox {
    opacity: 1;
    top: 50%;
}

/* REVIEW */
.review small {
    font-weight: 600;
    text-transform: uppercase;
    color: var(--c-brand);
}

.review-head {
    position: relative;
}

.review-head::after {
    content: "";
    width: 28px;
    height: 28px;
    position: absolute;
    bottom: -14px;
    background-color: white;
    transform: rotate(45deg);
}



/* CONTACT */
#contact {
    position: relative;
    z-index: 2;
}

#contact::after {
    content: "";
    width: 100%;
    height: 55%;
    background: linear-gradient(rgba(var(--c-brand-rgb), 0.8), rgba(var(--c-brand-rgb), 0.8)), url(../images/counter.webp);
    background-position: center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

#contact .form-control {
    border-radius: 0;
}

#contact .form-control:focus {
    box-shadow: none;
    border-color: var(--c-brand);
}

/* Remove overlay/background on Get in Touch section */
#contact::after {
    content: none !important;
}
/* FAQs*/
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}
.privacy-content h1 {
    color: #333;
    margin-bottom: 30px;
}
.privacy-content h2 {
    color: #444;
    margin: 30px 0 15px;
}
.privacy-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}
.privacy-content ul {
    color: #666;
    margin-bottom: 20px;
}
.privacy-content li {
    margin-bottom: 10px;
}
@media (max-width: 600px) {
    .privacy-content { padding: 18px 4vw; font-size: 0.98rem; }
    .privacy-content h1 { font-size: 1.4rem; margin-bottom: 18px; }
    .privacy-content h2 { font-size: 1.1rem; margin: 18px 0 10px; }
    .privacy-content p, .privacy-content ul { font-size: 0.98rem; }
    .privacy-content li { font-size: 0.97rem; }
}
/* FAQs*/
.FAQsbody {
    font-family: 'Open Sans', sans-serif;
    color: #fff;
    background-color: gray; /* Adjust as needed */
    padding: 40px 0; /* Uniform padding for spacing */
}

.title {
    font-size: 50px;
    text-align: center;
    margin: 20px 0; /* Reduced to minimize space */
    text-decoration: underline; 
}

.questions-container {
    max-width: 800px;
    margin: 20px auto; /* Center and add vertical margin */
}

.question {
    border-bottom: 1px solid #fff; 
}

.question button {
    width: 100%;
    background-color: gray; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
    border: none;
    outline: none;
    font-size: 22px;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.question p {
    font-size: 22px;
    max-height: 0; 
    opacity: 0; 
    line-height: 1.5;
    overflow: hidden; 
    transition: all 0.6s ease; 
}

.d-arrow {
    transition: transform 0.5s ease-in; 
    color: #fff;
}

.question p.show {
    max-height: 200px; 
    opacity: 1; 
    padding: 0px 15px 30px 15px; 
}

.question button .d-arrow.rotate {
    transform: rotate(180deg); 
}
/*FOOTER */
footer {
    width: 100%;
    position: relative; /* Changed from fixed to relative */
    bottom: 0;
    left: 0;
    background: #111;
    padding-top: 10px; /* Optional: Add padding to the top of the footer */
}

footer .content {
    max-width: 1350px;
    margin: auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Ensure space between elements */
}

footer .content p, footer .content a {
    color: #fff;
}

footer .content .box {
    width: 33%;
    transition: all 0.4s ease;
}

footer .content .topic {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

footer .content p {
    text-align: justify;
}

footer .content .lower .topic {
    margin: 24px 0 5px 0;
}

footer .content .lower i {
    padding-right: 16px;
}

footer .content .middle {
    padding-left: 80px;
}

footer .content .middle a {
    line-height: 32px;
}

footer .content .right input[type="text"],
footer .content .right input[type="email"] {
    height: 45px;
    width: 110%;
    outline: none;
    color: #d9d9d9;
    background: #000;
    border-radius: 5px;
    padding-left: 10px;
    font-size: 17px;
    border: 2px solid #222222;
}

footer .content .right input[type="submit"] {
    height: 40px;
    width: 100%;
    font-size: 16px;
    color: #d9d9d9;
    background: black;
    outline: none;
    border-radius: 5px;
    letter-spacing: 0.5px;
    cursor: pointer;
    margin-top: 8px;
    border: 2px solid white;
    transition: all 0.3s ease-in-out;
}

.content .right input[type="submit"]:hover {
    background: none;
    color: white;
}

footer .content .media-icons a {
    font-size: 16px;
    height: 45px;
    width: 45px;
    display: inline-block;
    text-align: center;
    line-height: 43px;
    border-radius: 5px;
    border: 2px solid #222222;
    margin: 30px 5px 0 0;
    transition: all 0.3s ease;
}

.content .media-icons a:hover {
    border-color: white;
}

footer .bottom {
    width: 100%;
    text-align: center;
    color: #d9d9d9;
    padding: 10px 16px;
}

footer .bottom a {
    color: white;
}

footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: gray;
}

/* Centralized copyright */
.copyright {
    white-space: normal; /* Allow wrapping on small screens */
    text-align: center;
    margin: 0;
    flex-grow: 1;
    word-break: break-word;
}

@media (max-width: 600px) {
    .bottom { padding: 14px 10px; }
    .copyright { white-space: normal; word-break: break-word; }
}

/* Developed by section */
.developed {
    margin: 0; /* Removes any default margin */
    text-align: right; /* Align to the right */
}

/* Responsive design */
@media (max-width: 1100px) {
    footer .content .middle {
        padding-left: 50px;
    }
}

@media (max-width: 950px) {
    footer .content .box {
        width: 50%;
    }
    .content .right {
        margin-top: 40px;
    }
}

@media (max-width: 560px) {
    footer {
        position: relative; /* Ensure the footer is relative on small screens as well */
    }
    footer .content .box {
        width: 100%;
        margin-top: 20px;
    }
    footer .content .middle {
        padding-left: 0;
    }
}
